diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx index 1e8bff0e9..4971ced46 100644 --- a/src/input/plugins/CurlInputPlugin.cxx +++ b/src/input/plugins/CurlInputPlugin.cxx @@ -329,7 +329,7 @@ input_curl_init(const ConfigBlock &block) static void input_curl_finish(void) { - BlockingCall(io_thread_get(), [](){ + BlockingCall(curl_global->GetEventLoop(), [](){ delete curl_global; });