mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-17 07:07:15 -05:00
Clean up shutdown handling
This commit is contained in:
parent
81ac45a1d4
commit
482a99cf15
|
|
@ -603,9 +603,11 @@ void setStreamStopping()
|
|||
|
||||
void handleExit()
|
||||
{
|
||||
if (!switcher) {
|
||||
return;
|
||||
}
|
||||
switcher->obsIsShuttingDown = true;
|
||||
if (switcher && switcher->obsIsShuttingDown &&
|
||||
switcher->shutdownConditionCount) {
|
||||
if (switcher->shutdownConditionCount) {
|
||||
switcher->Stop();
|
||||
switcher->checkMacros();
|
||||
switcher->runMacros();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user