Skip to content

Commit

Permalink
Remove redundant finalizer
Browse files Browse the repository at this point in the history
  • Loading branch information
govert committed Oct 26, 2020
1 parent f44923f commit 6b0b7e0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Source/ExcelDna.IntelliSense/Util/RenewableDelayExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,8 @@ private void Dispose(bool isDisposing)

_timer.Elapsed -= OnTimerElapsed;
_timer.Dispose();

if (isDisposing)
{
GC.SuppressFinalize(this);
}
}

public void Dispose() => Dispose(true);

~RenewableDelayExecutor()
{
Dispose(false);
}
}
}

0 comments on commit 6b0b7e0

Please sign in to comment.