diff --git a/ext/src/http/client/curl/http_client_curl.cc b/ext/src/http/client/curl/http_client_curl.cc index f53da0a469..e6292f54f2 100644 --- a/ext/src/http/client/curl/http_client_curl.cc +++ b/ext/src/http/client/curl/http_client_curl.cc @@ -552,6 +552,7 @@ void HttpClient::WaitBackgroundThreadExit() if (background_thread && background_thread->joinable()) { + wakeupBackgroundThread(); background_thread->join(); } is_shutdown_.store(false, std::memory_order_release);