From 87b476ac4152b2ecdb25d6555656e6cbbfef697b Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Mon, 27 Apr 2026 14:41:18 +0800 Subject: [PATCH] =?utf8?q?=E8=A7=A3=E5=86=B3=E6=AD=A3=E5=B8=B8=E8=AE=AD?= =?utf8?q?=E7=BB=83=E5=BC=80=E5=A7=8B=E7=95=8C=E9=9D=A2=E5=86=85=E5=AD=98?= =?utf8?q?=E6=B3=84=E6=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../n9/nativeapp/nativeui/traing/src/TraingNomalView.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/sdk/application/wearable/n9/nativeapp/nativeui/traing/src/TraingNomalView.cpp b/code/sdk/application/wearable/n9/nativeapp/nativeui/traing/src/TraingNomalView.cpp index 9e6e615dd..c38650800 100644 --- a/code/sdk/application/wearable/n9/nativeapp/nativeui/traing/src/TraingNomalView.cpp +++ b/code/sdk/application/wearable/n9/nativeapp/nativeui/traing/src/TraingNomalView.cpp @@ -99,6 +99,12 @@ namespace OHOS void TraingNomalView::DeInit() { + if (group != nullptr) + { + group->RemoveAll(); + delete group; + group = nullptr; + } if (sporttitle_ != nullptr) { delete sporttitle_; -- 2.17.1