Avoid deadlocks while opening settings window and calling frontend API

This commit is contained in:
WarmUpTill
2023-01-30 21:07:22 +01:00
committed by WarmUpTill
parent b4936274f2
commit 492128ef86
5 changed files with 27 additions and 28 deletions

View File

@@ -244,6 +244,7 @@ void SwitcherData::Thread()
switcher->firstIntervalAfterStop = false;
}
mainLoopLock = nullptr;
blog(LOG_INFO, "stopped");
}