mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-15 20:54:58 +00:00
Merge remote-tracking branch 'origin/dev' into feat/VC-4
This commit is contained in:
@@ -20,7 +20,7 @@ namespace ICD.Common.Utils.Timers
|
|||||||
private readonly Timer m_Timer;
|
private readonly Timer m_Timer;
|
||||||
private int m_RepeatPeriod;
|
private int m_RepeatPeriod;
|
||||||
#endif
|
#endif
|
||||||
private readonly Action m_Callback;
|
private Action m_Callback;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns true if this instance has been disposed.
|
/// Returns true if this instance has been disposed.
|
||||||
@@ -88,6 +88,8 @@ namespace ICD.Common.Utils.Timers
|
|||||||
Stop();
|
Stop();
|
||||||
m_Timer.Dispose();
|
m_Timer.Dispose();
|
||||||
|
|
||||||
|
m_Callback = null;
|
||||||
|
|
||||||
IsDisposed = true;
|
IsDisposed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user