forked from premiere/premiere-libtorrent
fixed exception issue
This commit is contained in:
parent
5a921506c4
commit
985e457e91
|
@ -996,7 +996,7 @@ namespace libtorrent
|
|||
|
||||
m_picker->we_have(index);
|
||||
for (peer_iterator i = m_connections.begin(); i != m_connections.end(); ++i)
|
||||
i->second->announce_piece(index);
|
||||
try { i->second->announce_piece(index); } catch (std::exception&) {}
|
||||
|
||||
for (std::set<tcp::endpoint>::iterator i = peers.begin()
|
||||
, end(peers.end()); i != end; ++i)
|
||||
|
|
Loading…
Reference in New Issue