From ee5918bd76ff547925d97e800a9f856b33fcbbed Mon Sep 17 00:00:00 2001 From: aldelaro5 Date: Thu, 29 Aug 2024 14:44:30 -0400 Subject: [PATCH] Address minor code review --- BepInEx.Core/Utility.cs | 2 +- BepInEx.PatcherProvider/BepInExPatcherLoadContext.cs | 1 + BepInEx.PluginProvider/BepInExPluginLoadContext.cs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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; } }