Skip to content

Commit 5404303

Browse files
committed
Wrap IndexWin32Programs with Task.Run
1 parent ef4bb12 commit 5404303

File tree

1 file changed

+1
-1
lines changed
  • Plugins/Flow.Launcher.Plugin.Program/Programs

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ public static async Task MonitorDirectoryChangeAsync()
593593
while (reader.TryRead(out _))
594594
{
595595
}
596-
Main.IndexWin32Programs();
596+
await Task.Run(Main.IndexWin32Programs);
597597
}
598598
}
599599

0 commit comments

Comments
 (0)