1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

complete session if presented

This commit is contained in:
orignal 2015-02-10 17:36:39 -05:00
parent 9eba7923a7
commit 0ed9dc4e93
2 changed files with 1 additions and 1 deletions

View File

@ -291,6 +291,7 @@ namespace transport
}
}
LogPrint (eLogError, "No NTCP and SSU addresses available");
if (peer.session) peer.session->Done ();
m_Peers.erase (ident);
return false;
}

View File

@ -60,7 +60,6 @@ namespace transport
~Peer ()
{
//if (session) session->Done ();
for (auto it :delayedMessages)
i2p::DeleteI2NPMessage (it);
}