mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 08:14:15 +00:00
complete session if presented
This commit is contained in:
parent
9eba7923a7
commit
0ed9dc4e93
@ -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;
|
||||
}
|
||||
|
@ -60,7 +60,6 @@ namespace transport
|
||||
|
||||
~Peer ()
|
||||
{
|
||||
//if (session) session->Done ();
|
||||
for (auto it :delayedMessages)
|
||||
i2p::DeleteI2NPMessage (it);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user