don't handle connect timer for already terminated session

This commit is contained in:
orignal 2024-08-09 08:14:39 -04:00
parent 349c4e30b6
commit b306bf2db9

View File

@ -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