From 7e716f9d806b16ff983cde3609db53be4e733744 Mon Sep 17 00:00:00 2001 From: natural-law Date: Thu, 26 May 2011 16:34:10 +0800 Subject: [PATCH] [android] fixed #510, Delete the onDestroy method override in TestsDemo.java --- tests/test.android/src/org/cocos2dx/tests/TestsDemo.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test.android/src/org/cocos2dx/tests/TestsDemo.java b/tests/test.android/src/org/cocos2dx/tests/TestsDemo.java index e6d010c823..3c5095f70a 100644 --- a/tests/test.android/src/org/cocos2dx/tests/TestsDemo.java +++ b/tests/test.android/src/org/cocos2dx/tests/TestsDemo.java @@ -42,13 +42,6 @@ public class TestsDemo extends Cocos2dxActivity{ mGLView.onResume(); } - - protected void onDestroy() - { - super.onDestroy(); - - android.os.Process.killProcess(android.os.Process.myPid()); - } static { System.loadLibrary("cocosdenshion");