Browse Source

don't handle connect timer for already terminated session

pull/2094/head
orignal 5 months ago
parent
commit
b306bf2db9
  1. 2
      libi2pd/SSU2Session.cpp

2
libi2pd/SSU2Session.cpp

@ -144,7 +144,7 @@ namespace transport @@ -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…
Cancel
Save