mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Fix crash on shutdown
This commit is contained in:
parent
f5d072414f
commit
5aadca41d4
|
|
@ -101,7 +101,7 @@ bool HighlightUIElementsEnabled()
|
|||
|
||||
bool OBSIsShuttingDown()
|
||||
{
|
||||
return GetSwitcher()->obsIsShuttingDown;
|
||||
return GetSwitcher() && GetSwitcher()->obsIsShuttingDown;
|
||||
}
|
||||
|
||||
bool InitialLoadIsComplete()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user