Skip to content

Commit

Permalink
Merge branch '196-check-compatibility-with-net-8' of https://github.c…
Browse files Browse the repository at this point in the history
…om/dspace-group/dscom into 196-check-compatibility-with-net-8
  • Loading branch information
SOsterbrink committed Nov 17, 2023
2 parents 214543d + b2cf738 commit 23e2008
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 23e2008

Please sign in to comment.