Skip to content

Commit af3b391

Browse files
committed
Fix dispose
1 parent 486cc6a commit af3b391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Core/Plugin/PluginManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ internal static async Task UninstallPluginAsync(PluginMetadata plugin, bool remo
577577
throw new ArgumentException($"Plugin {plugin.Name} has been modified");
578578
}
579579

580-
if (removePluginFromSettings)
580+
if (removePluginSettings || removePluginFromSettings)
581581
{
582582
// If we want to remove plugin from AllPlugins,
583583
// we need to dispose them so that they can release file handles

0 commit comments

Comments
 (0)