From 6268b3890c188f22754c8b4ee6f1034b34bcc329 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Mon, 21 Feb 2022 21:49:11 +0300 Subject: [PATCH] github issue #71 fix callback_data_ is not cleared in RemoveCallbacks fixed it --- src/core/intercept_queue.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/intercept_queue.h b/src/core/intercept_queue.h index c0c8deab..c798e0a9 100644 --- a/src/core/intercept_queue.h +++ b/src/core/intercept_queue.h @@ -526,6 +526,7 @@ class InterceptQueue { static void RemoveCallbacks() { std::lock_guard lck(mutex_); callbacks_ = {}; + callback_data_ = NULL; Stop(); }