8000 Remove unnecessary finalizer (cleanup already guaranteed by the SafeH… · mm201/libgit2sharp@d541cad · GitHub
[go: up one dir, main page]

Skip to content

Commit d541cad

Browse files
sharwellnulltoken
authored andcommitted
Remove unnecessary finalizer (cleanup already guaranteed by the SafeHandle)
1 parent 188b68b commit d541cad

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

LibGit2Sharp/Core/ObjectSafeWrapper.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,5 @@ private void Dispose(bool disposing)
3737
{
3838
objectPtr.SafeDispose();
3939
}
40-
41-
~ObjectSafeWrapper()
42-
{
43-
Dispose(false);
44-
}
4540
}
4641
}

0 commit comments

Comments
 (0)
0