mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
fixed race condition
This commit is contained in:
parent
8305fd5f82
commit
5730b15f01
7 changed files with 34 additions and 18 deletions
|
@ -414,7 +414,7 @@ namespace transport
|
|||
else
|
||||
{
|
||||
LogPrint (eLogError, "Session for ", ident.ToBase64 ().substr (0, 4), " already exists");
|
||||
session->Terminate ();
|
||||
session->Done ();
|
||||
}
|
||||
}
|
||||
else // incoming connection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue