mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix potential race condition in the uninstall logic
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
e103d649ed
commit
baa3a690a3
1 changed files with 1 additions and 1 deletions
|
|
@ -1089,7 +1089,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
|
||||
if (entry.Value.Count == 0)
|
||||
{
|
||||
_nonGlobalPlugins.TryRemove(entry.Key, out var __);
|
||||
_nonGlobalPlugins.TryRemove(new KeyValuePair<string, List<PluginPair>>(entry.Key, entry.Value));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue