don't request temination if session was not established

This commit is contained in:
orignal 2024-03-13 13:56:10 -04:00
parent fbca27fe73
commit 530a078535

View file

@ -294,8 +294,10 @@ namespace transport
{ {
m_TerminationReason = reason; m_TerminationReason = reason;
SendTermination (); SendTermination ();
m_State = eSSU2SessionStateClosing;
} }
m_State = eSSU2SessionStateClosing; else
Done ();
} }
void SSU2Session::Established () void SSU2Session::Established ()