forked from premiere/premiere-libtorrent
rpc_manager fix
This commit is contained in:
parent
e3fa84c479
commit
51aa6c4b6b
|
@ -256,7 +256,7 @@ void rpc_manager::unreachable(udp::endpoint const& ep)
|
|||
{
|
||||
TORRENT_ASSERT(*i);
|
||||
observer_ptr const& o = *i;
|
||||
if (o->target_ep() != ep) continue;
|
||||
if (o->target_ep() != ep) { ++i; continue; }
|
||||
observer_ptr ptr = *i;
|
||||
m_transactions.erase(i++);
|
||||
#ifdef TORRENT_DHT_VERBOSE_LOGGING
|
||||
|
|
Loading…
Reference in New Issue