mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-14 04:05:04 +00:00
fix: IcdTimer fix issue that prevents OnElapsed callback from firing when Length is less than (or close to) Heartbeat Interval
This commit is contained in:
@@ -118,6 +118,7 @@ namespace ICD.Common.Utils.Timers
|
||||
Length = length;
|
||||
|
||||
m_Stopwatch.Reset();
|
||||
m_LastHeartbeatMilliseconds = 0;
|
||||
m_Stopwatch.Start();
|
||||
|
||||
RaiseOnIsRunningChanged();
|
||||
|
||||
Reference in New Issue
Block a user