From: Caisking <3449750381@qq.com> Date: Tue, 10 Dec 2024 09:03:32 +0000 (+0800) Subject: ANCS:优化消息弹窗 X-Git-Tag: v1.3.113-repair_tp~141^2~19 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=f96d1e93fb88c1d16fbf643c7f3bf5985592cc64;p=mirrors%2FFD230.git ANCS:优化消息弹窗 --- 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!!");