From: xue <2144439972@qq.com> Date: Wed, 17 Dec 2025 07:02:39 +0000 (+0800) Subject: 关机断开ws X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=a7e4a76a8e5f61328bd775f91afdedefe3403e17;p=mirrors%2FFD230.git 关机断开ws --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp index a45bd5bdd..48eed8dd1 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp @@ -1521,6 +1521,8 @@ extern "C" { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "Switching to shutdown slice (VIEW_REBOOT), close_battery_flag=%d", close_battery_flag); m_reminderHideActive = false; // 先停止定时器 close_battery_flag = false; // 重置标志 + //关闭ws + ln_ws_stop(); NativeAbility::GetInstance().SwitchSlice(VIEW_REBOOT); WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SwitchSlice(VIEW_REBOOT) called"); } else {