From 13111c4b424eb83d28c913b16f8400ce5e0d55ab Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 11 Feb 2017 18:18:37 -0500 Subject: [PATCH] don't re-schedule resend timer if nothing to resend --- SSUData.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SSUData.cpp b/SSUData.cpp index 5ca4dac3..32e66e22 100644 --- a/SSUData.cpp +++ b/SSUData.cpp @@ -462,6 +462,7 @@ namespace transport else ++it; } + if (m_SentMessages.empty ()) return; // nothing to resend if (numResent < MAX_OUTGOING_WINDOW_SIZE) ScheduleResend (); else