fixed deadlock in udp_socket

This commit is contained in:
Arvid Norberg 2008-09-23 03:09:08 +00:00
parent ba8163ca9c
commit 74593d6014
1 changed files with 0 additions and 1 deletions

View File

@ -215,7 +215,6 @@ void udp_socket::unwrap(error_code const& e, char const* buf, int size)
void udp_socket::close()
{
TORRENT_ASSERT(m_magic == 0x1337);
mutex_t::scoped_lock l(m_mutex);
error_code ec;
m_ipv4_sock.close(ec);