forked from boostorg/beast
1 parent
d107ba1c1d
commit
236caef873
2 files changed
+3
-6
No files matched your search
@@ -12,6 +12,7 @@
|
||||
* Add basic_parser_v1::reset
|
||||
* Fix handling of body_what::pause in basic_parser_v1
|
||||
* Add headers_parser
|
||||
* Engaged invokable is destructible
|
||||
|
||||
API Changes:
|
||||
|
||||
|
||||
@@ -74,15 +74,11 @@ class invokable
|
||||
alignas(holder<exemplar>) buf_type buf_;
|
||||
|
||||
public:
|
||||
#ifndef NDEBUG
|
||||
~invokable()
|
||||
{
|
||||
// Engaged invokables must be invoked before
|
||||
// destruction otherwise the io_service
|
||||
// invariants are broken w.r.t completions.
|
||||
BOOST_ASSERT(! base_);
|
||||
if(base_)
|
||||
base_->~base();
|
||||
}
|
||||
#endif
|
||||
|
||||
invokable() = default;
|
||||
|
||||
|
||||
Reference in new issue
Block a user