mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-11-06 10:51:37 +01:00
Remove unnecessary get_cancellation_slot().clear() calls
Summary: related to T13706 Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D27894
This commit is contained in:
@@ -102,14 +102,10 @@ public:
|
||||
|
||||
private:
|
||||
void complete(error_code ec, epoints eps, authority_path ap) {
|
||||
get_cancellation_slot().clear();
|
||||
|
||||
std::move(_handler)(ec, std::move(eps), std::move(ap));
|
||||
}
|
||||
|
||||
void complete_post(error_code ec, epoints eps, authority_path ap) {
|
||||
get_cancellation_slot().clear();
|
||||
|
||||
asio::post(
|
||||
_owner.get_executor(),
|
||||
asio::prepend(
|
||||
|
||||
Reference in New Issue
Block a user