mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
delete local destination on session close
This commit is contained in:
2
SAM.cpp
2
SAM.cpp
@@ -681,7 +681,7 @@ namespace client
|
|||||||
for (auto it1: it->second.sockets)
|
for (auto it1: it->second.sockets)
|
||||||
it1->CloseStream ();
|
it1->CloseStream ();
|
||||||
it->second.sockets.clear ();
|
it->second.sockets.clear ();
|
||||||
it->second.localDestination->Stop ();
|
i2p::client::context.DeleteLocalDestination (it->second.localDestination);
|
||||||
m_Sessions.erase (it);
|
m_Sessions.erase (it);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user