diff options
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/upnp/upnpplib.cxx | 2 | ||||
-rw-r--r-- | src/db/upnp/upnpplib.hxx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/db/upnp/upnpplib.cxx b/src/db/upnp/upnpplib.cxx index 7d4160f47..d7c65ccf4 100644 --- a/src/db/upnp/upnpplib.cxx +++ b/src/db/upnp/upnpplib.cxx @@ -68,8 +68,6 @@ LibUPnP::LibUPnP() void LibUPnP::registerHandler(Upnp_EventType et, Upnp_FunPtr handler, void *cookie) { - const ScopeLock protect(m_mutex); - if (handler == nullptr) m_handlers.erase(et); else diff --git a/src/db/upnp/upnpplib.hxx b/src/db/upnp/upnpplib.hxx index 6fd997c31..b6ce80212 100644 --- a/src/db/upnp/upnpplib.hxx +++ b/src/db/upnp/upnpplib.hxx @@ -20,7 +20,6 @@ #ifndef _LIBUPNP_H_X_INCLUDED_ #define _LIBUPNP_H_X_INCLUDED_ -#include "thread/Mutex.hxx" #include "util/Error.hxx" #include <map> @@ -40,7 +39,6 @@ class LibUPnP { Error init_error; UpnpClient_Handle m_clh; - Mutex m_mutex; std::map<Upnp_EventType, Handler> m_handlers; LibUPnP(); |