Skip to content

Commit

Permalink
dispose sash (#199081)
Browse files Browse the repository at this point in the history
Co-authored-by: Peng Lyu <penn.lv@gmail.com>
  • Loading branch information
tisilent and rebornix committed Jan 29, 2024
1 parent a6470cb commit 0d9e099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/find/browser/findWidget.ts
Expand Up @@ -1204,7 +1204,7 @@ export class FindWidget extends Widget implements IOverlayWidget, IVerticalSashL
this._domNode.appendChild(this._closeBtn.domNode);
this._domNode.appendChild(replacePart);

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

Expand Down

0 comments on commit 0d9e099

Please sign in to comment.