From f5cc792ce9518f50dad54882a5fdd579a13ccd5c Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Sat, 21 Jan 2023 16:57:41 +0800 Subject: [PATCH] Return empty when operation canceled --- Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs index 83057ff04..51c4c3d9d 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs @@ -111,7 +111,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search } catch (OperationCanceledException) { - return results.ToList(); + return new List(); } catch (EngineNotAvailableException) {