mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-14 12:15:05 +00:00
fix: Potential fix for timer disposal on Net Standard
This commit is contained in:
@@ -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