broadcast socket fix

This commit is contained in:
Arvid Norberg 2007-10-30 10:07:26 +00:00
parent eea82821d2
commit df7e01ff8a
1 changed files with 2 additions and 0 deletions

View File

@ -190,6 +190,8 @@ namespace libtorrent
void broadcast_socket::close()
{
m_on_receive.clear();
for (std::list<socket_entry>::iterator i = m_sockets.begin()
, end(m_sockets.end()); i != end; ++i)
{