mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +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:
parent
d025946948
commit
ecf7e626f3
1 changed files with 1 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ namespace ICD.Common.Utils.Timers
|
|||
Length = length;
|
||||
|
||||
m_Stopwatch.Reset();
|
||||
m_LastHeartbeatMilliseconds = 0;
|
||||
m_Stopwatch.Start();
|
||||
|
||||
RaiseOnIsRunningChanged();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue