forked from premiere/premiere-libtorrent
exception fix in udp_socket
This commit is contained in:
parent
73907913d7
commit
2cd1838f38
|
@ -592,7 +592,8 @@ void rate_limited_udp_socket::on_tick(error_code const& e)
|
||||||
|
|
||||||
void rate_limited_udp_socket::close()
|
void rate_limited_udp_socket::close()
|
||||||
{
|
{
|
||||||
m_timer.cancel();
|
error_code ec;
|
||||||
|
m_timer.cancel(ec);
|
||||||
udp_socket::close();
|
udp_socket::close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue