Skip to content

Commit 7669bba

Browse files
committed
Inline update source
1 parent c0b792c commit 7669bba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,8 +1268,7 @@ private async Task QueryResultsAsync(bool searchDelay, bool isReQuery = false, b
12681268
return;
12691269
}
12701270

1271-
var currentUpdateSource = new CancellationTokenSource();
1272-
_updateSource = currentUpdateSource;
1271+
_updateSource = new CancellationTokenSource();
12731272
_updateToken = _updateSource.Token;
12741273

12751274
ProgressBarVisibility = Visibility.Hidden;

0 commit comments

Comments
 (0)