summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-01-25 23:14:52 +0100
committerMax Kellermann <max@musicpd.org>2017-01-25 23:16:56 +0100
commit5c18b0a94d64458062fe56a602d794a28b2d56a6 (patch)
tree7c899dc1099b7641915c6ca4793f79b0d3e71ba7 /src/input
parentecbad638f16b0f63c0be4fc43531ff0e50304d11 (diff)
input/curl: use CurlGlobal::GetEventLoop()
Diffstat (limited to 'src/input')
-rw-r--r--src/input/plugins/CurlInputPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
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;
});