diff --git a/libs/http_client/curl_thread_pool_p.cpp b/libs/http_client/curl_thread_pool_p.cpp index d9b1bfc7..dc562508 100644 --- a/libs/http_client/curl_thread_pool_p.cpp +++ b/libs/http_client/curl_thread_pool_p.cpp @@ -92,5 +92,10 @@ void CurlThreadPool::destroy() { for (auto c: *cr) delete c; } + { + auto cr = clients_in_proc.getRef(); + for (auto c: *cr) + delete c; + } // piCout << "~CurlThreadPool ok"; }