diff --git a/src/lib/upnp/Discovery.cxx b/src/lib/upnp/Discovery.cxx index 4cfbf85f4..143434a6b 100644 --- a/src/lib/upnp/Discovery.cxx +++ b/src/lib/upnp/Discovery.cxx @@ -267,8 +267,6 @@ UPnPDeviceDirectory::UPnPDeviceDirectory(EventLoop &event_loop, UPnPDeviceDirectory::~UPnPDeviceDirectory() { - /* this destructor exists here just so it won't get inlined */ - BlockingCall(curl->GetEventLoop(), [this](){ downloaders.clear_and_dispose(DeleteDisposer()); });