Skip to content

Commit

Permalink
Remove unnecessary finalizer from Repository (cleanup already guarant…
Browse files Browse the repository at this point in the history
…eed by the SafeHandle)
  • Loading branch information
sharwell authored and nulltoken committed Feb 14, 2013
1 parent d541cad commit 3a7ec78
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions LibGit2Sharp/Repository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,6 @@ private void EagerlyLoadTheConfigIfAnyPathHaveBeenPassed(RepositoryOptions optio
}
}

/// <summary>
/// Takes care of releasing all non-managed remaining resources.
/// </summary>
~Repository()
{
Dispose(false);
}

internal RepositorySafeHandle Handle
{
get { return handle; }
Expand Down

0 comments on commit 3a7ec78

Please sign in to comment.