forked from premiere/premiere-libtorrent
broadcast socket fix
This commit is contained in:
parent
eea82821d2
commit
df7e01ff8a
|
@ -190,6 +190,8 @@ namespace libtorrent
|
||||||
|
|
||||||
void broadcast_socket::close()
|
void broadcast_socket::close()
|
||||||
{
|
{
|
||||||
|
m_on_receive.clear();
|
||||||
|
|
||||||
for (std::list<socket_entry>::iterator i = m_sockets.begin()
|
for (std::list<socket_entry>::iterator i = m_sockets.begin()
|
||||||
, end(m_sockets.end()); i != end; ++i)
|
, end(m_sockets.end()); i != end; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue