upnp fix
This commit is contained in:
parent
516d8b72f6
commit
2dea7f072c
|
@ -836,6 +836,8 @@ void upnp::on_expire(asio::error_code const& e)
|
|||
void upnp::close()
|
||||
{
|
||||
boost::mutex::scoped_lock l(m_mutex);
|
||||
m_refresh_timer.cancel();
|
||||
m_broadcast_timer.cancel();
|
||||
m_closing = true;
|
||||
m_socket.close();
|
||||
|
||||
|
|
Loading…
Reference in New Issue