Rework wait action to support being interrupted by calling Stop()

This commit is contained in:
WarmUpTill
2022-03-01 20:00:59 +01:00
committed by WarmUpTill
parent 8131ad3c24
commit 7095f4668c
2 changed files with 16 additions and 10 deletions

View File

@@ -89,7 +89,7 @@ public:
int GetCount() { return _count; };
void ResetCount() { _count = 0; };
bool GetStop() { return _stop; }
void Stop() { _stop = true; }
void Stop();
std::deque<std::shared_ptr<MacroCondition>> &Conditions()
{
return _conditions;