mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
move WaitForConnect away from constructor
This commit is contained in:
parent
97656e7349
commit
1a0957b571
3 changed files with 10 additions and 2 deletions
1
SSU.cpp
1
SSU.cpp
|
@ -135,6 +135,7 @@ namespace transport
|
|||
if (!session)
|
||||
{
|
||||
session = new SSUSession (*this, from);
|
||||
session->WaitForConnect ();
|
||||
m_Sessions[from] = session;
|
||||
LogPrint ("New SSU session from ", from.address ().to_string (), ":", from.port (), " created");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue