Skip to content

Commit 43826cb

Browse files
committed
Add cancel token
1 parent be0c1ad commit 43826cb

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
@@ -1211,7 +1211,7 @@ private async Task QueryResultsAsync(bool searchDelay, bool isReQuery = false, b
12111211
// Switch to ThreadPool thread to keep UI responsive when waiting update lock
12121212
await TaskScheduler.Default;
12131213

1214-
await _updateLock.WaitAsync();
1214+
await _updateLock.WaitAsync(CancellationToken.None);
12151215
try
12161216
{
12171217
var currentUpdateSource = new CancellationTokenSource();

0 commit comments

Comments
 (0)