diff --git a/src/browser/services/DecorationsService.ts b/src/browser/services/DecorationsService.ts index cfa69fb5f..610355dee 100644 --- a/src/browser/services/DecorationsService.ts +++ b/src/browser/services/DecorationsService.ts @@ -101,6 +101,7 @@ class Decoration extends Disposable implements IDecoration { if (this.isDisposed) { return; } + this._screenElement.removeChild(this.element); this.isDisposed = true; this._marker.dispose(); // Emit before super.dispose such that dispose listeners get a change to react