Skip to content

Commit

Permalink
Fixes #79166
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Aug 16, 2019
1 parent c9c42e4 commit 73f852d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/vs/editor/contrib/zoneWidget/zoneWidget.ts
Expand Up @@ -192,9 +192,6 @@ export abstract class ZoneWidget implements IHorizontalSashLayoutProvider {
}

public dispose(): void {

this._disposables.dispose();

if (this._overlayWidget) {
this.editor.removeOverlayWidget(this._overlayWidget);
this._overlayWidget = null;
Expand All @@ -211,6 +208,8 @@ export abstract class ZoneWidget implements IHorizontalSashLayoutProvider {

this.editor.deltaDecorations(this._positionMarkerId, []);
this._positionMarkerId = [];

this._disposables.dispose();
}

public create(): void {
Expand Down

0 comments on commit 73f852d

Please sign in to comment.