gps_image_ slice退出清除cach资源 3255/2 3255/head 3256/target/1
authorluozheng <1732036298@qq.com>
Mon, 9 Mar 2026 08:21:16 +0000 (16:21 +0800)
committerluozheng <1732036298@qq.com>
Mon, 9 Mar 2026 08:21:16 +0000 (16:21 +0800)
code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingNomalView.cpp

index 73f8e99..40f1497 100644 (file)
@@ -139,6 +139,8 @@ namespace OHOS
         }
         if(gps_image_ != nullptr)
         {
+            ImageCacheManager::GetInstance().UnloadSingleRes(GPS_1_IMAGE);
+            ImageCacheManager::GetInstance().UnloadSingleRes(GPS_2_IMAGE);
             delete gps_image_;
             gps_image_ = nullptr;
         }