mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-31 05:14:53 +00:00
fix: Potential fix for timer disposal on Net Standard
This commit is contained in:
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
### Added
|
||||
- Adding SequenceComparer for ordering collections of lists, arrays, etc
|
||||
|
||||
### Changed
|
||||
- Potential fix for timer disposal on Net Standard
|
||||
|
||||
## [3.6.0] - 2018-06-19
|
||||
### Added
|
||||
- Added ZIP features for examining the contents of an archive
|
||||
|
||||
@@ -82,8 +82,12 @@ namespace ICD.Common.Utils.Timers
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
if (IsDisposed)
|
||||
return;
|
||||
|
||||
Stop();
|
||||
m_Timer.Dispose();
|
||||
|
||||
IsDisposed = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user