diff --git a/BepInEx.Core/Utility.cs b/BepInEx.Core/Utility.cs index b8cd30c..1a35841 100644 --- a/BepInEx.Core/Utility.cs +++ b/BepInEx.Core/Utility.cs @@ -236,7 +236,7 @@ public static class Utility var potentialSymbolsFileNames = new[] { - $"{filename}.mdb", + $"{filename}.dll.mdb", $"{filename}.pdb" }; diff --git a/BepInEx.PatcherProvider/BepInExPatcherLoadContext.cs b/BepInEx.PatcherProvider/BepInExPatcherLoadContext.cs index 63fc627..3aca66f 100644 --- a/BepInEx.PatcherProvider/BepInExPatcherLoadContext.cs +++ b/BepInEx.PatcherProvider/BepInExPatcherLoadContext.cs @@ -43,5 +43,6 @@ public class BepInExPatcherLoadContext : IPluginLoadContext public void Dispose() { assemblyData = null; + assemblySymbolsData = null; } } diff --git a/BepInEx.PluginProvider/BepInExPluginLoadContext.cs b/BepInEx.PluginProvider/BepInExPluginLoadContext.cs index 3271a24..389e181 100644 --- a/BepInEx.PluginProvider/BepInExPluginLoadContext.cs +++ b/BepInEx.PluginProvider/BepInExPluginLoadContext.cs @@ -43,5 +43,6 @@ public class BepInExPluginLoadContext : IPluginLoadContext public void Dispose() { assemblyData = null; + assemblySymbolsData = null; } }