immediate_executor is supported. (#2672)

This commit is contained in:
Klemens Morgenstern authored and GitHub committed 2023-10-13 05:33:23 -03:00
1 parent 177a1222a6
commit dd875463ff
25 files changed
+475 -219

No files matched your search

+2 -1
View File
@@ -199,7 +199,8 @@ operator()(
"websocket::async_write_some"
));
net::post(sp->stream().get_executor(), std::move(*this));
const auto ex = this->get_immediate_executor();
net::dispatch(ex, std::move(*this));
}
BOOST_ASSERT(impl.wr_block.is_locked(this));
}