From 39ba3033983d7cbf3e7818dbfc8e37409c158027 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Tue, 27 Sep 2016 20:16:35 +0200 Subject: [PATCH] fix typo - we actually want the disposing to be set to true when called from IDisposable.Dispose method so that the resources are disposed (unlike when called from finalizer) - this fixes part of #44529 --- .../Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs b/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs index d2a41d9d0..27300212c 100644 --- a/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs +++ b/src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs @@ -82,7 +82,7 @@ public DirectoryAssemblyResolver (Action logWarnings, bool loa public void Dispose () { - Dispose (disposing: false); + Dispose (disposing: true); GC.SuppressFinalize (this); }