Skip to content

Commit

Permalink
fix #45990
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Mar 16, 2018
1 parent e3b1331 commit 8ae0b0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/base/common/cancellation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class MutableToken implements CancellationToken {
this._isCancelled = true;
if (this._emitter) {
this._emitter.fire(undefined);
this._emitter.dispose();
this._emitter = undefined;
}
}
Expand Down

0 comments on commit 8ae0b0c

Please sign in to comment.