exception fix in udp_socket

This commit is contained in:
Arvid Norberg 2008-11-24 19:19:27 +00:00
parent 73907913d7
commit 2cd1838f38
1 changed files with 2 additions and 1 deletions

View File

@ -592,7 +592,8 @@ void rate_limited_udp_socket::on_tick(error_code const& e)
void rate_limited_udp_socket::close()
{
m_timer.cancel();
error_code ec;
m_timer.cancel(ec);
udp_socket::close();
}