Permalink
Browse files

Revert "Remove useless GC.SuppressFinalize()"

  • Loading branch information...
1 parent 3e65630 commit 46a5c177b3a1aca74662e7e7cef70976b19a715e @nulltoken nulltoken committed Mar 1, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 LibGit2Sharp/Core/ObjectSafeWrapper.cs
  2. +1 −0 LibGit2Sharp/Repository.cs
@@ -30,6 +30,7 @@ public GitObjectSafeHandle ObjectPtr
public void Dispose()
{
Dispose(true);
+ GC.SuppressFinalize(this);
}
private void Dispose(bool disposing)
@@ -333,6 +333,7 @@ public NoteCollection Notes
public void Dispose()
{
Dispose(true);
+ GC.SuppressFinalize(this);
}
/// <summary>

0 comments on commit 46a5c17

Please sign in to comment.