Implement oncancel (fixes #27638)
This commit is contained in:
parent
717c93ae17
commit
ca923a5ee1
1 changed files with 4 additions and 0 deletions
|
@ -229,6 +229,10 @@ export class OpenAnythingHandler extends QuickOpenHandler {
|
|||
this.pendingSearch = null;
|
||||
this.messageService.show(Severity.Error, error);
|
||||
});
|
||||
}, () => {
|
||||
resultPromises.forEach(resultPromise => {
|
||||
resultPromise.cancel();
|
||||
});
|
||||
});
|
||||
|
||||
return this.pendingSearch;
|
||||
|
|
Loading…
Reference in a new issue