Don't double fire cancel

pull/65454/head
Matt Bierner 2018-12-19 20:32:36 -08:00
parent 7854596caf
commit 5e2ec87c62
1 changed files with 0 additions and 2 deletions

View File

@ -173,9 +173,7 @@ export class ParameterHintsModel extends Disposable {
return this.provideSignatureHelpRequest.then(result => {
if (!result || !result.signatures || result.signatures.length === 0) {
this.state = DefaultState;
this.cancel();
this._onCancel.fire(void 0);
return false;
} else {
this.state = new ActiveState(result);