Skip to content

Commit e615299

Browse files
committed
Cancel start find delayer for empty query, fixes microsoft#127479
1 parent f5da394 commit e615299

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/webview/electron-sandbox/iframeWebviewElement.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ export class ElectronIframeWebview extends IFrameWebview implements WebviewFindD
181181
if (!this.element) {
182182
return;
183183
}
184+
this._iframeDelayer.cancel();
184185
this._findStarted = false;
185186
this._webviewMainService.stopFindInFrame({ windowId: this.nativeHostService.windowId }, this.id, {
186187
keepSelection

0 commit comments

Comments
 (0)