From 248401f5343aa356945aa1c2027a1fa79a4dcb12 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Wed, 18 Jan 2023 16:46:08 +0900 Subject: [PATCH] Plugin assemblies shouldn't be unloadable --- BTCPayServer/Plugins/PluginManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Plugins/PluginManager.cs b/BTCPayServer/Plugins/PluginManager.cs index 804e950a3..5c52054a0 100644 --- a/BTCPayServer/Plugins/PluginManager.cs +++ b/BTCPayServer/Plugins/PluginManager.cs @@ -132,7 +132,7 @@ namespace BTCPayServer.Plugins // this ensures that the version of MVC is shared between this app and the plugin config.PreferSharedTypes = true; - config.IsUnloadable = true; + config.IsUnloadable = false; }); var pluginAssembly = plugin.LoadDefaultAssembly();