Commit 81d7cb4c authored by Xavier Thompson's avatar Xavier Thompson

join.hpp: Check exceptions in sync resume

parent 4017ff8d
......@@ -103,10 +103,11 @@ namespace typon
return std::noop_coroutine();
}
void await_resume() noexcept
void await_resume()
{
_data._thefts = 0;
_data._n.store(UMAX, std::memory_order_release);
_data._children.check_exceptions();
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment