mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Fix incorrect unsubscription to AssemblyLoadContext.Default.Resolving.
+= instead of -=.
This commit is contained in:
@@ -363,7 +363,7 @@ namespace Robust.Shared.ContentPack
|
||||
public void Dispose()
|
||||
{
|
||||
_loadContext.Unload();
|
||||
AssemblyLoadContext.Default.Resolving += DefaultOnResolving;
|
||||
AssemblyLoadContext.Default.Resolving -= DefaultOnResolving;
|
||||
}
|
||||
|
||||
private Assembly? DefaultOnResolving(AssemblyLoadContext ctx, AssemblyName name)
|
||||
|
||||
Reference in New Issue
Block a user