Wrap IndexWin32Programs with Task.Run

This commit is contained in:
Hongtao Zhang 2022-02-23 18:21:13 -06:00
parent ef4bb121f9
commit 5404303c5f

View file

@ -593,7 +593,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
while (reader.TryRead(out _))
{
}
Main.IndexWin32Programs();
await Task.Run(Main.IndexWin32Programs);
}
}