Browse Source

don't re-schedule resend timer if nothing to resend

pull/759/merge
orignal 8 years ago
parent
commit
13111c4b42
  1. 1
      SSUData.cpp

1
SSUData.cpp

@ -462,6 +462,7 @@ namespace transport
else else
++it; ++it;
} }
if (m_SentMessages.empty ()) return; // nothing to resend
if (numResent < MAX_OUTGOING_WINDOW_SIZE) if (numResent < MAX_OUTGOING_WINDOW_SIZE)
ScheduleResend (); ScheduleResend ();
else else

Loading…
Cancel
Save