forked from premiere/premiere-libtorrent
fix bug when weeding out peers from peerlists
This commit is contained in:
parent
548bace889
commit
8e93d59b2c
|
@ -697,6 +697,7 @@ namespace libtorrent
|
||||||
if (candidate > current) --candidate;
|
if (candidate > current) --candidate;
|
||||||
--m_round_robin;
|
--m_round_robin;
|
||||||
erase_peer(m_peers.begin() + current);
|
erase_peer(m_peers.begin() + current);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue