input/curl: use CurlGlobal::GetEventLoop()
This commit is contained in:
parent
ecbad638f1
commit
5c18b0a94d
@ -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;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user