This commit is contained in:
Michael Davidsaver
2021-06-17 10:42:24 -07:00
parent 59fd839ea0
commit e63b9155de
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -116,9 +116,6 @@ std::shared_ptr<ConnBase> Connection::self_from_this()
void Connection::cleanup()
{
// (maybe) keep myself alive
std::shared_ptr<Connection> self;
ready = false;
context->connByAddr.erase(peerAddr);