async_protocol_handler_config: remove connection correctly

remotes/1691602464505633909/tmp_refs/heads/wonerujo-v0.10.1
anon 3 years ago
parent c1776be54f
commit 7fd140e4f7
No known key found for this signature in database
GPG Key ID: D3857C17AA7F968B

@ -818,7 +818,7 @@ void async_protocol_handler_config<t_connection_context>::delete_connections(siz
{
auto i = connections.end() - 1;
async_protocol_handler<t_connection_context> *conn = m_connects.at(*i);
del_connection(conn);
m_connects.erase(*i);
conn->close();
connections.erase(i);
}

Loading…
Cancel
Save