mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove plugin from _allLoadedPlugins when one plugin is uninstalled
This commit is contained in:
parent
31c8e850cd
commit
9221435bad
1 changed files with 3 additions and 0 deletions
|
|
@ -914,6 +914,9 @@ namespace Flow.Launcher.Core.Plugin
|
|||
string.Format(API.GetTranslation("failedToRemovePluginCacheMessage"), plugin.Name));
|
||||
}
|
||||
Settings.RemovePluginSettings(plugin.ID);
|
||||
{
|
||||
_allLoadedPlugins.RemoveAll(p => p.Metadata.ID == plugin.ID);
|
||||
}
|
||||
{
|
||||
_allInitializedPlugins.TryRemove(plugin.ID, out var _);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue