From 8d03fcee2edeb6cb964e9acd0e71744aa0ae68a5 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Mon, 21 Jul 2025 17:17:11 +0800 Subject: [PATCH] Remove error codes --- Flow.Launcher.Core/Plugin/PluginManager.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs index 5ea978418..635690ce2 100644 --- a/Flow.Launcher.Core/Plugin/PluginManager.cs +++ b/Flow.Launcher.Core/Plugin/PluginManager.cs @@ -651,12 +651,6 @@ namespace Flow.Launcher.Core.Plugin if (oldActionkeyword != Query.GlobalPluginWildcardSign) { _nonGlobalPlugins.TryRemove(oldActionkeyword, out var item); - // If the removed item is not the same as the plugin being removed, - // we should add it back to non-global plugins - if (item.Metadata.ID != id) - { - _nonGlobalPlugins.TryAdd(oldActionkeyword, item); - } } // Update action keywords and action keyword in plugin metadata