mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
don't handle connect timer for already terminated session
This commit is contained in:
parent
349c4e30b6
commit
b306bf2db9
|
@ -144,7 +144,7 @@ namespace transport
|
|||
|
||||
void SSU2Session::HandleConnectTimer (const boost::system::error_code& ecode)
|
||||
{
|
||||
if (!ecode)
|
||||
if (!ecode && m_State != eSSU2SessionStateTerminated)
|
||||
{
|
||||
// timeout expired
|
||||
if (m_State == eSSU2SessionStateIntroduced) // WaitForIntroducer
|
||||
|
|
Loading…
Reference in a new issue