mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-18 23:36:39 +01:00
delete local destination on session close
This commit is contained in:
parent
7da694825d
commit
ec8e3574f9
1 changed files with 1 additions and 1 deletions
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue