diff --git a/CHANGELOG.md b/CHANGELOG.md index ca113fa..5cbee3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,6 +69,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Better VC-4 support for IcdConsole - JSON refactoring for simpler deserialization +## [8.6.1] - 2019-06-14 +### Changed + - Fixed a bug where stopped timers on NetStandard would still have a periodic callback duration + ## [8.6.0] - 2019-06-14 ### Changed - Overhaul of RangeAttribute remap methods to better avoid overflows diff --git a/ICD.Common.Utils/Timers/SafeTimer.cs b/ICD.Common.Utils/Timers/SafeTimer.cs index 5470846..554a49f 100644 --- a/ICD.Common.Utils/Timers/SafeTimer.cs +++ b/ICD.Common.Utils/Timers/SafeTimer.cs @@ -67,8 +67,8 @@ namespace ICD.Common.Utils.Timers /// public static SafeTimer Stopped(Action callback) { - // Some arbitrarily large number that shouldn't timeout before we call stop. - SafeTimer output = new SafeTimer(callback, 100 * 1000, 100 * 1000); + //No due time or repeat period on a stopped timer + SafeTimer output = new SafeTimer(callback, -1, -1); output.Stop(); return output; }