input/curl: use CurlGlobal::GetEventLoop()

This commit is contained in:
Max Kellermann 2017-01-25 23:14:52 +01:00
parent ecbad638f1
commit 5c18b0a94d

View File

@ -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;
});