fix: Potential fix for timer disposal on Net Standard

This commit is contained in:
Chris Cameron
2018-06-21 11:48:59 -04:00
parent 1c89ebc5c2
commit bf91d9e87f
2 changed files with 7 additions and 0 deletions

View File

@@ -82,8 +82,12 @@ namespace ICD.Common.Utils.Timers
/// </summary>
public void Dispose()
{
if (IsDisposed)
return;
Stop();
m_Timer.Dispose();
IsDisposed = true;
}