upnp: correctly fix deadlock when calling UpnpUnRegisterClient
UpnpInstanceWrapper::Callback() can be called while Upnp is unregistering via UpnpUnRegisterClient(). Both functions locked the same mutex (s_lock) and this resulted to a deadlock. Add a new mutex to protect only the upnp callback.
Showing
Please register or sign in to comment