mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-11 11:47:41 -05:00
Fix crash on shutdown
This commit is contained in:
@@ -101,7 +101,7 @@ bool HighlightUIElementsEnabled()
|
||||
|
||||
bool OBSIsShuttingDown()
|
||||
{
|
||||
return GetSwitcher()->obsIsShuttingDown;
|
||||
return GetSwitcher() && GetSwitcher()->obsIsShuttingDown;
|
||||
}
|
||||
|
||||
bool InitialLoadIsComplete()
|
||||
|
||||
Reference in New Issue
Block a user