Skip to content

Commit e2811ce

Browse files
committed
dispose PluginPair.Plugin instead of PluginPair
1 parent a18a777 commit e2811ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher.Core/Plugin/PluginManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ public static void Save()
6060

6161
public static async ValueTask DisposePluginsAsync()
6262
{
63-
foreach (var plugin in AllPlugins)
63+
foreach (var pluginPair in AllPlugins)
6464
{
65-
switch (plugin)
65+
switch (pluginPair.Plugin)
6666
{
6767
case IDisposable disposable:
6868
disposable.Dispose();

0 commit comments

Comments
 (0)