From 127e28a6f4b98d85354228e229ebce43a54212f2 Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Wed, 9 Oct 2019 06:16:53 +1100 Subject: [PATCH] Remove task to wait for the program reload to complete --- Plugins/Wox.Plugin.Program/Main.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Plugins/Wox.Plugin.Program/Main.cs b/Plugins/Wox.Plugin.Program/Main.cs index 575d147696..a6a891265a 100644 --- a/Plugins/Wox.Plugin.Program/Main.cs +++ b/Plugins/Wox.Plugin.Program/Main.cs @@ -148,10 +148,7 @@ namespace Wox.Plugin.Program public void ReloadData() { - Task.Run(() => - { - IndexPrograms(); - }); + IndexPrograms(); } } } \ No newline at end of file