don't send updated LeaseSet through a terminated session

This commit is contained in:
orignal committed 2021-01-18 12:58:27 -05:00
1 parent 1235d18d67
commit 1a9e11d86d
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -817,7 +817,7 @@ namespace stream
void Stream::SendUpdatedLeaseSet ()
{
if (m_RoutingSession)
if (m_RoutingSession && !m_RoutingSession->IsTerminated ())
{
if (m_RoutingSession->IsLeaseSetNonConfirmed ())
{
@@ -838,6 +838,8 @@ namespace stream
SendQuickAck ();
}
}
else
SendQuickAck ();
}
void Stream::ScheduleResend ()