mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
dispose PluginPair.Plugin instead of PluginPair
This commit is contained in:
parent
a18a777e75
commit
e2811ce747
1 changed files with 2 additions and 2 deletions
|
|
@ -60,9 +60,9 @@ namespace Flow.Launcher.Core.Plugin
|
|||
|
||||
public static async ValueTask DisposePluginsAsync()
|
||||
{
|
||||
foreach (var plugin in AllPlugins)
|
||||
foreach (var pluginPair in AllPlugins)
|
||||
{
|
||||
switch (plugin)
|
||||
switch (pluginPair.Plugin)
|
||||
{
|
||||
case IDisposable disposable:
|
||||
disposable.Dispose();
|
||||
|
|
|
|||
Loading…
Reference in a new issue