Skip to content

Commit 5f2921c

Browse files
committed
test
1 parent 6333cd3 commit 5f2921c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,12 @@ async Task UpdateActionAsync()
212212
await Task.Delay(20);
213213
while (channelReader.TryRead(out var item))
214214
{
215+
if (item.Token.IsCancellationRequested && item.shouldClearExistingResults)
216+
{
217+
App.API.LogDebug(ClassName, "BLAH- Token cancelled but results marked to clear");
218+
Results.Clear();
219+
}
220+
215221
if (!item.Token.IsCancellationRequested)
216222
queue[item.ID] = item;
217223
}

0 commit comments

Comments
 (0)