mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
Fix: BTCPay Server fails to start the first time when installing a new plugin (#5595)
This commit is contained in:
parent
f070b22355
commit
0b0a8f8218
@ -108,6 +108,7 @@ namespace BTCPayServer.Plugins
|
||||
if (ExecuteCommands(pluginsFolder, plugins.ToDictionary(plugin => plugin.Identifier, plugin => plugin.Version)))
|
||||
{
|
||||
plugins.Clear();
|
||||
loadedPluginIdentifiers.Clear();
|
||||
LoadPluginsFromAssemblies(systemAssembly, disabledPlugins, loadedPluginIdentifiers, plugins);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user