From ecf7e626f30f1859400be1d0cbe088f3a02dd478 Mon Sep 17 00:00:00 2001 From: Drew Tingen Date: Fri, 14 Feb 2020 23:55:32 -0500 Subject: [PATCH] fix: IcdTimer fix issue that prevents OnElapsed callback from firing when Length is less than (or close to) Heartbeat Interval --- ICD.Common.Utils/Timers/IcdTimer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ICD.Common.Utils/Timers/IcdTimer.cs b/ICD.Common.Utils/Timers/IcdTimer.cs index fb2a633..de2099e 100644 --- a/ICD.Common.Utils/Timers/IcdTimer.cs +++ b/ICD.Common.Utils/Timers/IcdTimer.cs @@ -118,6 +118,7 @@ namespace ICD.Common.Utils.Timers Length = length; m_Stopwatch.Reset(); + m_LastHeartbeatMilliseconds = 0; m_Stopwatch.Start(); RaiseOnIsRunningChanged();