Skip to content

Commit 084acb0

Browse files
committed
reverted te chnage checking the result from unhandled_stopped().
1 parent 126405c commit 084acb0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/beman/execution26/detail/sender_awaitable.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ class sender_awaitable {
5353
}
5454

5555
void set_stopped() && noexcept {
56-
auto handle = static_cast<::std::coroutine_handle<>>(continuation_.promise().unhandled_stopped());
57-
if (handle)
58-
handle.resume();
56+
static_cast<::std::coroutine_handle<>>(continuation_.promise().unhandled_stopped()).resume();
5957
}
6058

6159
auto get_env() const noexcept {

0 commit comments

Comments
 (0)