Return empty when operation canceled

This commit is contained in:
Vic 2023-01-21 16:57:41 +08:00
parent b739bb49d3
commit f5cc792ce9

View file

@ -111,7 +111,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search
}
catch (OperationCanceledException)
{
return results.ToList();
return new List<Result>();
}
catch (EngineNotAvailableException)
{