forked from boostorg/beast
pausation always allocates
This commit is contained in:
1 parent
eb0cc97e1a
commit
3361df142c
4 files changed
+78
-144
No files matched your search
@@ -208,7 +208,7 @@ operator()(
|
||||
// Suspend
|
||||
BOOST_ASSERT(ws_.wr_block_ != tok_);
|
||||
BOOST_ASIO_CORO_YIELD
|
||||
ws_.paused_wr_.save(std::move(*this));
|
||||
ws_.paused_wr_.emplace(std::move(*this));
|
||||
|
||||
// Acquire the write block
|
||||
BOOST_ASSERT(! ws_.wr_block_);
|
||||
|
||||
Reference in new issue
Block a user