Suppress finaliser in Dispose if there's a protected Dispose(bool)

Fixes #746
This commit is contained in:
Jon Hanna
2015-12-18 19:03:36 +00:00
parent 48786adc5b
commit 40bd051809
2 changed files with 72 additions and 0 deletions
+1
View File
@@ -1085,6 +1085,7 @@ namespace Newtonsoft.Json
void IDisposable.Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
/// <summary>