summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-12-23 14:27:48 +0100
committerMax Kellermann <max@musicpd.org>2019-12-23 14:52:46 +0100
commitfe598e7d30d82794560df053623a16fee8d3fb9c (patch)
treec07384e7848816817aaa73a91be4255d1484f593 /src
parent4475b8ca04b2798519d0f6eb68913c55cf3d1846 (diff)
lib/curl/Global: remove InvalidateSockets() call from Remove()
curl_multi_remove_handle() calls our socket function, and there's no need to call curl_multi_socket_action().
Diffstat (limited to 'src')
-rw-r--r--src/lib/curl/Global.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/curl/Global.cxx b/src/lib/curl/Global.cxx
index f44b942af..4acb16fe6 100644
--- a/src/lib/curl/Global.cxx
+++ b/src/lib/curl/Global.cxx
@@ -181,8 +181,6 @@ CurlGlobal::Remove(CURL *easy) noexcept
assert(easy != nullptr);
curl_multi_remove_handle(multi.Get(), easy);
-
- InvalidateSockets();
}
static CurlRequest *