From 44c8df51979b4fb2b7a274598f5801bee35257d5 Mon Sep 17 00:00:00 2001 From: qiuguohua Date: Tue, 14 Feb 2023 14:45:57 +0800 Subject: [PATCH] Android platform does not exit the loop (#335) --- .../game-activity/native_app_glue/android_native_app_glue.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sources/android-gamesdk/GameActivity/game-activity/include/game-activity/native_app_glue/android_native_app_glue.c b/sources/android-gamesdk/GameActivity/game-activity/include/game-activity/native_app_glue/android_native_app_glue.c index 86288d2e..ae276557 100644 --- a/sources/android-gamesdk/GameActivity/game-activity/include/game-activity/native_app_glue/android_native_app_glue.c +++ b/sources/android-gamesdk/GameActivity/game-activity/include/game-activity/native_app_glue/android_native_app_glue.c @@ -127,8 +127,7 @@ void android_app_pre_exec_cmd(struct android_app* android_app, int8_t cmd) { break; case APP_CMD_DESTROY: - LOGV("APP_CMD_DESTROY"); - android_app->destroyRequested = 1; + // ts call to destroy break; } }