Skip to content

Commit

Permalink
Fix reload crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Popax21 committed Oct 6, 2023
1 parent 0aa2548 commit ae24218
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Celeste.Mod.mm/Mod/Everest/Everest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -907,10 +907,6 @@ internal static void Unregister(this EverestModule module) {

InvalidateInstallationHash();

// Unload mod assemblies
module.Metadata.AssemblyContext.Dispose();
module.Metadata.AssemblyContext = null;

Logger.Log(LogLevel.Info, "core", $"Module {module.Metadata} unregistered.");
}

Expand Down

0 comments on commit ae24218

Please sign in to comment.