From 5c18b0a94d64458062fe56a602d794a28b2d56a6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 25 Jan 2017 23:14:52 +0100 Subject: [PATCH] input/curl: use CurlGlobal::GetEventLoop() --- src/input/plugins/CurlInputPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; });