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:
Korina Šimičević
2024-02-13 13:47:33 +01:00
parent aeab5f9665
commit e5de307723
6 changed files with 0 additions and 19 deletions

View File

@@ -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(