diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index 48652f06358..a29eab7a81a 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -212,6 +212,12 @@ async Task UpdateActionAsync() await Task.Delay(20); while (channelReader.TryRead(out var item)) { + if (item.Token.IsCancellationRequested && item.shouldClearExistingResults) + { + App.API.LogDebug(ClassName, "BLAH- Token cancelled but results marked to clear"); + Results.Clear(); + } + if (!item.Token.IsCancellationRequested) queue[item.ID] = item; }