diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-03-12 21:21:32 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-03-12 21:21:32 +0200 |
commit | 2f8366fb2197ff3f06351b94b07c7ed1e1adf733 (patch) | |
tree | 6bb30eb857a98a69c6861c4932ae662c30710952 /contrib | |
parent | Merge pull request #720 (diff) | |
parent | epee: fix bug deleting more than one connection at once (diff) | |
download | monero-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.h | 1 |
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; } |