mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-11-18 07:34:59 -06:00
Add logging for shutdown macro handling
This commit is contained in:
@@ -598,6 +598,7 @@ static void handleShutdown()
|
||||
// Nothing may run once obs_shutdown() starts freeing sources and audio
|
||||
switcher->Stop();
|
||||
if (ShutdownCheckIsNecessary()) {
|
||||
blog(LOG_INFO, "running shutdown macros");
|
||||
CheckMacros();
|
||||
RunMacros();
|
||||
WaitForAllMacros();
|
||||
|
||||
@@ -1439,9 +1439,11 @@ void SignalStopAllMacros()
|
||||
|
||||
void WaitForAllMacros()
|
||||
{
|
||||
blog(LOG_INFO, "waiting for all macros to stop");
|
||||
for (const auto &m : GetAllMacros()) {
|
||||
m->Stop();
|
||||
}
|
||||
blog(LOG_INFO, "all macros stopped");
|
||||
}
|
||||
|
||||
void InvalidateMacroTempVarValues()
|
||||
|
||||
Reference in New Issue
Block a user