8000 Remove useless GC.SuppressFinalize() · mm201/libgit2sharp@d03bcb9 · GitHub
[go: up one dir, main page]

Skip to content

Commit d03bcb9

Browse files
yorahnulltoken
authored andcommitted
Remove useless GC.SuppressFinalize()
1 parent 7cd4c55 commit d03bcb9

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

LibGit2Sharp/Core/ObjectSafeWrapper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public GitObjectSafeHandle ObjectPtr
3030
public void Dispose()
3131
{
3232
Dispose(true);
33-
GC.SuppressFinalize(this);
3433
}
3534

3635
private void Dispose(bool disposing)

LibGit2Sharp/Repository.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ public NoteCollection Notes
305305
public void Dispose()
306306
{
307307
Dispose(true);
308-
GC.SuppressFinalize(this);
309308
}
310309

311310
/// <summary>

0 commit comments

Comments
 (0)
0