Use async_op_base::invoke

This commit is contained in:
Vinnie Falco committed 2019-02-16 15:09:34 -08:00
1 parent f41363c60c
commit 2e62f25701
7 files changed
+30 -81

No files matched your search

+1 -9
View File
@@ -609,15 +609,7 @@ public:
impl.paused_close.maybe_invoke() ||
impl.paused_ping.maybe_invoke() ||
impl.paused_wr.maybe_invoke();
if(! cont_)
{
BOOST_ASIO_CORO_YIELD
net::post(
ws_.get_executor(),
beast::bind_front_handler(std::move(*this),
ec, bytes_written_));
}
this->invoke_now(ec, bytes_written_);
this->invoke(cont_, ec, bytes_written_);
}
}
};