Cancel start find delayer for empty query, fixes #127479

This commit is contained in:
Raymond Zhao 2021-07-01 13:13:56 -07:00
parent f5da394107
commit e615299339
No known key found for this signature in database
GPG key ID: D36E5FCE46B63B58

View file

@ -181,6 +181,7 @@ export class ElectronIframeWebview extends IFrameWebview implements WebviewFindD
if (!this.element) {
return;
}
this._iframeDelayer.cancel();
this._findStarted = false;
this._webviewMainService.stopFindInFrame({ windowId: this.nativeHostService.windowId }, this.id, {
keepSelection