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ć committed 2024-02-14 07:57:08 +01:00
1 parent aeab5f9665
commit e5de307723
6 files changed
-19

No files matched your search

-2
View File
@@ -70,8 +70,6 @@ public:
template <typename CompletionHandler>
void operator()(on_timer, CompletionHandler&& h, error_code ec) {
get_cancellation_slot().clear();
auto bh = std::apply(
[h = std::move(h)](auto&&... args) mutable {
return asio::append(std::move(h), std::move(args)...);