diff options
-rw-r--r-- | includes/StacklessTask.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/StacklessTask.h b/includes/StacklessTask.h index ca5d521..d21c63a 100644 --- a/includes/StacklessTask.h +++ b/includes/StacklessTask.h @@ -27,8 +27,6 @@ class StacklessTask : public Task { operation; \ } \ catch (Balau::EAgain & e) { \ - auto evt = e.getEvent(); \ - waitFor(evt); \ taskSwitch(); \ } \ @@ -62,6 +60,7 @@ class StacklessTask : public Task { #define StacklessEnd() \ + break; \ } \ default: \ AssertHelper("unknown state", "State %i is out of range in task %s at %p", m_state, getName(), this); \ |