Skip to content

Commit b4bc296

Browse files
committed
Do not try to unload the assembly load contexts
1 parent a8c4037 commit b4bc296

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

StarMap.Core/ModRepository/LoadedModRepository.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,6 @@ public void Dispose()
150150
method.Invoke(@object, []);
151151
}
152152

153-
foreach (var modLoadContext in _modLoadContexts.Values)
154-
{
155-
modLoadContext.Unload();
156-
}
157-
158153
_mods.Dispose();
159154
}
160155
}

StarMap/GameSurveyer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ public void RunGame()
5757

5858
public void Dispose()
5959
{
60-
_gameAssemblyContext.Unload();
6160
_core?.DeInit();
6261
}
6362
}

0 commit comments

Comments
 (0)