Skip to content

Commit 0ad2642

Browse files
committed
fix undestructible stdexec::__task::__stop_callback_box
1 parent 3680678 commit 0ad2642

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/stdexec/__detail/__task.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ namespace STDEXEC
158158

159159
constexpr __stop_callback_box() {}
160160

161+
constexpr ~__stop_callback_box() {}
162+
161163
void __register_callback(auto const & __has_env, __stop_variant_t& __stop)
162164
noexcept(__nothrow_constructible_from<__stop_callback_t, _StopToken, _StopSource&>)
163165
{

0 commit comments

Comments
 (0)