You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation of experimental::coro does not properly set the cancel on suspension when the suspended coro and the new one have different executors. The result is undefined behavior.
The implementation of
experimental::coro
does not properly set thecancel
on suspension when the suspended coro and the new one have different executors. The result is undefined behavior.The problem I'm referring occurs in the
else
branch. Note thecoro_.coro_->cancel
is not set:https://github.com/chriskohlhoff/asio/blob/master/asio/include/asio/experimental/impl/coro.hpp#L983-L1032
The problem can be reproduced with:
The text was updated successfully, but these errors were encountered: