Skip to content

Commit 8c48cbe

Browse files
committed
Use currentCancellationToken instead
1 parent ece9b96 commit 8c48cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ private async Task QueryResultsAsync(bool searchDelay, bool isReQuery = false, b
12921292
// Switch to ThreadPool thread
12931293
await TaskScheduler.Default;
12941294

1295-
if (_updateSource.Token.IsCancellationRequested) return;
1295+
if (currentCancellationToken.IsCancellationRequested) return;
12961296

12971297
// Update the query's IsReQuery property to true if this is a re-query
12981298
query.IsReQuery = isReQuery;

0 commit comments

Comments
 (0)