mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-14 20:25:01 +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
|
### Added
|
||||||
- Adding SequenceComparer for ordering collections of lists, arrays, etc
|
- Adding SequenceComparer for ordering collections of lists, arrays, etc
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Potential fix for timer disposal on Net Standard
|
||||||
|
|
||||||
## [3.6.0] - 2018-06-19
|
## [3.6.0] - 2018-06-19
|
||||||
### Added
|
### Added
|
||||||
- Added ZIP features for examining the contents of an archive
|
- Added ZIP features for examining the contents of an archive
|
||||||
|
|||||||
@@ -82,8 +82,12 @@ namespace ICD.Common.Utils.Timers
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
if (IsDisposed)
|
||||||
|
return;
|
||||||
|
|
||||||
Stop();
|
Stop();
|
||||||
m_Timer.Dispose();
|
m_Timer.Dispose();
|
||||||
|
|
||||||
IsDisposed = true;
|
IsDisposed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user