mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
Merge remote-tracking branch 'origin/dev' into feat/VC-4
This commit is contained in:
commit
114a5e4ec7
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue