diff --git a/libi2pd/SSU2Session.cpp b/libi2pd/SSU2Session.cpp index a51b54c4..e2341304 100644 --- a/libi2pd/SSU2Session.cpp +++ b/libi2pd/SSU2Session.cpp @@ -294,8 +294,10 @@ namespace transport { m_TerminationReason = reason; SendTermination (); + m_State = eSSU2SessionStateClosing; } - m_State = eSSU2SessionStateClosing; + else + Done (); } void SSU2Session::Established ()