remove test

This commit is contained in:
meganrogge
2022-03-15 12:56:34 -04:00
parent 80e7963dbe
commit e7e9d5ca4c
6 changed files with 15 additions and 21 deletions
+2 -1
View File
@@ -68,8 +68,9 @@ class Decoration extends Disposable implements IInternalDecoration {
this.marker.onDispose(() => this.dispose());
}
public override dispose(): void {
this.element?.remove();
this._onDispose.fire();
this.element?.remove();
this.element = undefined;
super.dispose();
}
}