Skip to content

Commit 822bb49

Browse files
authored
Merge pull request #43 from StarMapLoader/dev
Make the AssemblyLoadContexts not collectable (#42)
2 parents 1578a95 + a8c4037 commit 822bb49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

StarMap.Core/ModRepository/ModAssemblyLoadContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ internal class ModAssemblyLoadContext : AssemblyLoadContext
1010
private readonly AssemblyDependencyResolver _modDependencyResolver;
1111

1212
public ModAssemblyLoadContext(string modId, string modDirectory, AssemblyLoadContext coreAssemblyContext)
13-
: base(isCollectible: true)
13+
: base()
1414
{
1515
_coreAssemblyLoadContext = coreAssemblyContext;
1616

StarMap/GameAssemblyLoadContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ internal class GameAssemblyLoadContext : AssemblyLoadContext
1414
private readonly AssemblyDependencyResolver _starMapDepdencyResolver;
1515

1616
public GameAssemblyLoadContext(string gamePath)
17-
: base(isCollectible: true)
17+
: base()
1818
{
1919
_gameDependencyResolver = new AssemblyDependencyResolver(gamePath);
2020

0 commit comments

Comments
 (0)