From fded42e27578d291e19358dec5580d9ecbf0be47 Mon Sep 17 00:00:00 2001 From: Vinlic Date: Tue, 28 Nov 2023 13:57:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B5=E9=9D=A2=E5=AE=9E?= =?UTF-8?q?=E4=BE=8B=E9=87=8A=E6=94=BE=E6=97=B6=E6=9C=AA=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E5=AE=9E=E4=BE=8B=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/Page.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/Page.js b/core/Page.js index a97e97e..55f08b7 100644 --- a/core/Page.js +++ b/core/Page.js @@ -858,6 +858,8 @@ export default class Page extends EventEmitter { await this.#asyncLock.acquire("release", async () => { // 重置页面 await this.reset(); + // 通知浏览器释放页面 + await this.parent.releasePage(this); // 设置页面状态为ready this.#setState(Page.STATE.READY); });