Skip to content

Commit

Permalink
Merge branch 'main' into 196-check-compatibility-with-net-8
Browse files Browse the repository at this point in the history
  • Loading branch information
SOsterbrink authored Nov 17, 2023
2 parents 4a9479c + 0137827 commit b2cf738
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dscom.client/AssemblyResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal sealed class AssemblyResolver : IDisposable
internal AssemblyResolver(TypeLibConverterOptions options)
{
Options = options;
_context = new AssemblyLoadContext("dscom", true);
_context = new AssemblyLoadContext("dscom");
_context.Resolving += Context_Resolving;
}

Expand Down Expand Up @@ -74,7 +74,6 @@ private void Dispose(bool disposing)
if (disposing)
{
_context.Resolving -= Context_Resolving;
_context.Unload();
}

_disposedValue = true;
Expand Down

0 comments on commit b2cf738

Please sign in to comment.