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