File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Extension/src/LanguageServer Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -2153,13 +2153,11 @@ export class DefaultClient implements Client {
21532153 public cancelReferences ( ) : void {
21542154 referencesParams = null ;
21552155 renamePending = false ;
2156- if ( referencesRequestPending ) {
2157- let cancelling : boolean = referencesPendingCancellations . length > 0 ;
2158- if ( ! cancelling ) {
2159- referencesPendingCancellations . push ( { reject : ( ) => { } , callback : ( ) => { } } ) ;
2160- this . languageClient . sendNotification ( CancelReferencesNotification ) ;
2161- this . references . closeRenameUI ( ) ;
2162- }
2156+ let cancelling : boolean = referencesPendingCancellations . length > 0 ;
2157+ if ( ! cancelling ) {
2158+ referencesPendingCancellations . push ( { reject : ( ) => { } , callback : ( ) => { } } ) ;
2159+ this . languageClient . sendNotification ( CancelReferencesNotification ) ;
2160+ this . references . closeRenameUI ( ) ;
21632161 }
21642162 }
21652163
You can’t perform that action at this time.
0 commit comments