aboutsummaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core.c b/src/core.c
index 1ccbb6f9..dec08eeb 100644
--- a/src/core.c
+++ b/src/core.c
@@ -1459,9 +1459,10 @@ static void PollInputEvents(void)
// Check if we are exiting
if (app->destroyRequested != 0)
{
- TraceLog(INFO, "Closing Window...");
- //CloseWindow();
- windowShouldClose = true;
+ // NOTE: Never close window, native activity is controlled by the system!
+ //TraceLog(INFO, "Closing Window...");
+ //windowShouldClose = true;
+
//ANativeActivity_finish(app->activity);
}
}