diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs index 13308c233..0223affeb 100644 --- a/Flow.Launcher.Core/Plugin/PluginManager.cs +++ b/Flow.Launcher.Core/Plugin/PluginManager.cs @@ -591,7 +591,10 @@ namespace Flow.Launcher.Core.Plugin var nonGlobalPlugins = new Dictionary>(); foreach (var kvp in _nonGlobalPlugins) { - nonGlobalPlugins.Add(kvp.Key, [.. kvp.Value]); + lock (kvp.Value) + { + nonGlobalPlugins.Add(kvp.Key, [.. kvp.Value]); + } } return nonGlobalPlugins; }