diff --git a/src/client/activation/progress.ts b/src/client/activation/progress.ts index 5abcb9e553c0..f3895a31c89c 100644 --- a/src/client/activation/progress.ts +++ b/src/client/activation/progress.ts @@ -47,6 +47,11 @@ export class ProgressReporting implements Disposable { if (this.statusBarMessage) { this.statusBarMessage.dispose(); } + if (this.progressDeferred) { + this.progressDeferred.resolve(); + this.progressDeferred = undefined; + this.progress = undefined; + } } private beginProgress(): void {