fixed exception issue

This commit is contained in:
Arvid Norberg 2007-03-26 06:48:34 +00:00
parent 5a921506c4
commit 985e457e91
1 changed files with 1 additions and 1 deletions

View File

@ -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)