mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 13:23:29 +01:00
epee: fix bug deleting more than one connection at once
This commit is contained in:
parent
dfd0e9c97d
commit
e98b26a87e
@ -695,6 +695,7 @@ void async_protocol_handler_config<t_connection_context>::del_out_connections(si
|
|||||||
{
|
{
|
||||||
close(*out_connections.begin());
|
close(*out_connections.begin());
|
||||||
del_connection(m_connects.at(*out_connections.begin()));
|
del_connection(m_connects.at(*out_connections.begin()));
|
||||||
|
out_connections.erase(out_connections.begin());
|
||||||
--count;
|
--count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user