From f96d1e93fb88c1d16fbf643c7f3bf5985592cc64 Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Tue, 10 Dec 2024 17:03:32 +0800 Subject: [PATCH] =?utf8?q?ANCS=EF=BC=9A=E4=BC=98=E5=8C=96=E6=B6=88?= =?utf8?q?=E6=81=AF=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../service/msg_center/src/notify/message_notification.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp b/code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp index 499d79ccb..b62d49721 100644 --- a/code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/notify/message_notification.cpp @@ -274,6 +274,8 @@ void FreeMessageView(void) { WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "MessageGroupView %p", MessageGroupView); + RootView::GetInstance()->Remove(MessageGroupView); + delete MessageGroupView; MessageGroupView = nullptr; WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "Free MessageView succeed!!"); -- 2.17.1