From 1e07fc598234f16afe9135e469e144f2f23970a9 Mon Sep 17 00:00:00 2001 From: ywcoder <1104410818@qq.com> Date: Wed, 9 Apr 2025 10:52:11 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E5=A4=8D=E5=86=8D=E6=AC=A1?= =?UTF-8?q?=E5=BC=B9=E5=87=BA=E5=BC=B9=E7=AA=97=E5=90=8E=E4=BC=9A=E9=97=AA?= =?UTF-8?q?=E9=80=80=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entry/src/main/ets/uitls/PromptActionClass.ets | 3 --- 1 file changed, 3 deletions(-) diff --git a/CustomDialogPractice/entry/src/main/ets/uitls/PromptActionClass.ets b/CustomDialogPractice/entry/src/main/ets/uitls/PromptActionClass.ets index 407fa0a4..9bcc58ab 100644 --- a/CustomDialogPractice/entry/src/main/ets/uitls/PromptActionClass.ets +++ b/CustomDialogPractice/entry/src/main/ets/uitls/PromptActionClass.ets @@ -57,9 +57,6 @@ export class PromptActionClass { .closeCustomDialog(PromptActionClass.contentNode) .then(() => { hilog.info(0x0000, 'testTag', 'CloseCustomDialog complete.'); - if (PromptActionClass.contentNode !== null) { - PromptActionClass.contentNode.dispose(); // release contentNode. - } }) .catch((error: BusinessError) => { let message = (error as BusinessError).message; -- Gitee