Skip to content

Commit 0d9e099

Browse files
tisilentrebornix
andauthored
dispose sash (microsoft#199081)
Co-authored-by: Peng Lyu <[email protected]>
1 parent a6470cb commit 0d9e099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/contrib/find/browser/findWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ export class FindWidget extends Widget implements IOverlayWidget, IVerticalSashL
12041204
this._domNode.appendChild(this._closeBtn.domNode);
12051205
this._domNode.appendChild(replacePart);
12061206

1207-
this._resizeSash = new Sash(this._domNode, this, { orientation: Orientation.VERTICAL, size: 2 });
1207+
this._resizeSash = this._register(new Sash(this._domNode, this, { orientation: Orientation.VERTICAL, size: 2 }));
12081208
this._resized = false;
12091209
let originalWidth = FIND_WIDGET_INITIAL_WIDTH;
12101210

0 commit comments

Comments
 (0)