mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-14 13:18:36 -05:00
Fix freeze when stopping waiting macro via "Run macro" button
This commit is contained in:
@@ -552,6 +552,12 @@ Macro::PauseStateSaveBehavior Macro::GetPauseStateSaveBehavior() const
|
||||
return _pauseSaveBehavior;
|
||||
}
|
||||
|
||||
void Macro::SignalStop()
|
||||
{
|
||||
_stop = true;
|
||||
GetMacroWaitCV().notify_all();
|
||||
}
|
||||
|
||||
void Macro::Stop()
|
||||
{
|
||||
_stop = true;
|
||||
|
||||
Reference in New Issue
Block a user