mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-06 16:46:11 -05:00
Rework handling of fade threads
Previous implementation did not allow ongoing fades to be stopped. New implementations allows waiting for fade to complete.
This commit is contained in:
@@ -437,13 +437,6 @@ void SwitcherData::Stop()
|
||||
server.stop();
|
||||
client.disconnect();
|
||||
|
||||
for (auto &t : audioHelperThreads) {
|
||||
if (t.joinable()) {
|
||||
t.join();
|
||||
}
|
||||
}
|
||||
audioHelperThreads.clear();
|
||||
|
||||
if (showSystemTrayNotifications) {
|
||||
DisplayTrayMessage(
|
||||
obs_module_text("AdvSceneSwitcher.pluginName"),
|
||||
|
||||
Reference in New Issue
Block a user