mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-30 05:06:14 -05:00
Fix crash when deleting macro with wait action
Note that this might still not be completely race free but should improve the situation a lot.
This commit is contained in:
@@ -107,8 +107,8 @@ bool Macro::PerformAction()
|
||||
{
|
||||
bool ret = true;
|
||||
for (auto &a : _actions) {
|
||||
ret = ret && a->PerformAction();
|
||||
a->LogAction();
|
||||
ret = ret && a->PerformAction();
|
||||
if (!ret) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user