Skip to content

Commit 3a7ec78

Browse files
sharwellnulltoken
authored andcommitted
Remove unnecessary finalizer from Repository (cleanup already guaranteed by the SafeHandle)
1 parent d541cad commit 3a7ec78

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

LibGit2Sharp/Repository.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,6 @@ private void EagerlyLoadTheConfigIfAnyPathHaveBeenPassed(RepositoryOptions optio
134134
}
135135
}
136136

137-
/// <summary>
138-
/// Takes care of releasing all non-managed remaining resources.
139-
/// </summary>
140-
~Repository()
141-
{
142-
Dispose(false);
143-
}
144-
145137
internal RepositorySafeHandle Handle
146138
{
147139
get { return handle; }

0 commit comments

Comments
 (0)