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