mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
make sure we are done with session before remving it
This commit is contained in:
parent
0912de5b77
commit
262a803d10
3 changed files with 9 additions and 3 deletions
|
@ -476,6 +476,11 @@ namespace transport
|
|||
}
|
||||
}
|
||||
|
||||
void SSU2Server::RequestRemoveSession (uint64_t connID)
|
||||
{
|
||||
GetService ().post ([connID, this]() { RemoveSession (connID); });
|
||||
}
|
||||
|
||||
void SSU2Server::AddSessionByRouterHash (std::shared_ptr<SSU2Session> session)
|
||||
{
|
||||
if (session)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue