fix: Don't throw an ObjectDisposed exception when attempting to stop a disposed timer

This commit is contained in:
Chris Cameron
2021-02-05 16:15:11 -05:00
parent 1db7d4b45d
commit cc79e88702

View File

@@ -93,6 +93,9 @@ namespace ICD.Common.Utils.Timers
/// </summary>
public void Stop()
{
if (IsDisposed)
return;
#if SIMPLSHARP
m_Timer.Stop();
#else