File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1327,7 +1327,7 @@ private static List<Result> GetHistoryItems(IEnumerable<HistoryItem> historyItem
13271327
13281328 private async Task QueryResultsAsync ( bool searchDelay , bool isReQuery = false , bool reSelect = true )
13291329 {
1330- _updateSource ? . Cancel ( ) ;
1330+ await _updateSource ? . CancelAsync ( ) ;
13311331
13321332 App . API . LogDebug ( ClassName , $ "Start query with text: <{ QueryText } >") ;
13331333
@@ -1906,7 +1906,7 @@ public async Task SetupDialogJumpAsync(nint handle)
19061906 if ( DialogJump . DialogJumpWindowPosition == DialogJumpWindowPositions . UnderDialog )
19071907 {
19081908 // Cancel the previous Dialog Jump task
1909- _dialogJumpSource ? . Cancel ( ) ;
1909+ await _dialogJumpSource ? . CancelAsync ( ) ;
19101910
19111911 // Create a new cancellation token source
19121912 _dialogJumpSource = new CancellationTokenSource ( ) ;
You can’t perform that action at this time.
0 commit comments