Skip to content

Commit 6b0b7e0

Browse files
committed
Remove redundant finalizer
1 parent f44923f commit 6b0b7e0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Source/ExcelDna.IntelliSense/Util/RenewableDelayExecutor.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,8 @@ private void Dispose(bool isDisposing)
5050

5151
_timer.Elapsed -= OnTimerElapsed;
5252
_timer.Dispose();
53-
54-
if (isDisposing)
55-
{
56-
GC.SuppressFinalize(this);
57-
}
5853
}
5954

6055
public void Dispose() => Dispose(true);
61-
62-
~RenewableDelayExecutor()
63-
{
64-
Dispose(false);
65-
}
6656
}
6757
}

0 commit comments

Comments
 (0)