Skip to content

Commit f153b7a

Browse files
radekdoulikjonpryor
authored andcommitted
[Java.Interop.Tools.Cecil ] Properly implement DirectoryAssemblyResolver.cs.Dispose() (#90)
- 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
1 parent 1be10fa commit f153b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil/DirectoryAssemblyResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public DirectoryAssemblyResolver (Action<string, object[]> logWarnings, bool loa
8282

8383
public void Dispose ()
8484
{
85-
Dispose (disposing: false);
85+
Dispose (disposing: true);
8686
GC.SuppressFinalize (this);
8787
}
8888

0 commit comments

Comments
 (0)