mirror of
https://github.com/monero-project/monero.git
synced 2025-05-25 15:50:52 -04:00
Merge pull request #719
e98b26a
epee: fix bug deleting more than one connection at once (moneromooo-monero)
This commit is contained in:
commit
2f8366fb21
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue