Fix freeze when stopping waiting macro via "Run macro" button

This commit is contained in:
WarmUpTill
2026-06-13 23:21:31 +02:00
committed by WarmUpTill
parent c07c00325f
commit 6c90f517e4
3 changed files with 8 additions and 2 deletions

View File

@@ -552,6 +552,12 @@ Macro::PauseStateSaveBehavior Macro::GetPauseStateSaveBehavior() const
return _pauseSaveBehavior;
}
void Macro::SignalStop()
{
_stop = true;
GetMacroWaitCV().notify_all();
}
void Macro::Stop()
{
_stop = true;