aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/upnpplib.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/upnp/upnpplib.cxx')
-rw-r--r--src/db/upnp/upnpplib.cxx2
1 files changed, 0 insertions, 2 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