Commit 5c18b0a9 authored by Max Kellermann's avatar Max Kellermann

input/curl: use CurlGlobal::GetEventLoop()

parent ecbad638
...@@ -329,7 +329,7 @@ input_curl_init(const ConfigBlock &block) ...@@ -329,7 +329,7 @@ input_curl_init(const ConfigBlock &block)
static void static void
input_curl_finish(void) input_curl_finish(void)
{ {
BlockingCall(io_thread_get(), [](){ BlockingCall(curl_global->GetEventLoop(), [](){
delete curl_global; delete curl_global;
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment