aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-03-12 21:21:32 +0200
committerRiccardo Spagni <ric@spagni.net>2016-03-12 21:21:32 +0200
commit2f8366fb2197ff3f06351b94b07c7ed1e1adf733 (patch)
tree6bb30eb857a98a69c6861c4932ae662c30710952 /contrib
parentMerge pull request #720 (diff)
parentepee: fix bug deleting more than one connection at once (diff)
downloadmonero-2f8366fb2197ff3f06351b94b07c7ed1e1adf733.tar.xz
Merge pull request #719
e98b26a epee: fix bug deleting more than one connection at once (moneromooo-monero)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/epee/include/net/levin_protocol_handler_async.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/epee/include/net/levin_protocol_handler_async.h b/contrib/epee/include/net/levin_protocol_handler_async.h
index 7331faa35..be231a7e1 100644
--- a/contrib/epee/include/net/levin_protocol_handler_async.h
+++ b/contrib/epee/include/net/levin_protocol_handler_async.h
@@ -695,6 +695,7 @@ void async_protocol_handler_config<t_connection_context>::del_out_connections(si
{
close(*out_connections.begin());
del_connection(m_connects.at(*out_connections.begin()));
+ out_connections.erase(out_connections.begin());
--count;
}