mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
test
This commit is contained in:
parent
6333cd362c
commit
5f2921caa4
1 changed files with 6 additions and 0 deletions
|
|
@ -212,6 +212,12 @@ namespace Flow.Launcher.ViewModel
|
|||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue