forked from premiere/premiere-libtorrent
lsd close fix
This commit is contained in:
parent
636d5f2005
commit
33e8b670fc
|
@ -183,6 +183,8 @@ void lsd::on_announce(udp::endpoint const& from, char* buffer
|
|||
|
||||
void lsd::close()
|
||||
{
|
||||
m_socket.close();
|
||||
asio::error_code ec;
|
||||
m_socket.close(ec);
|
||||
m_broadcast_timer.cancel();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue