Browse Source

Removed call to finishActivity() as it is now being called from the native C code when the engine exits.

Wei Tjong Yao 12 years ago
parent
commit
707668adfa
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Source/Android/src/org/libsdl/app/SDLActivity.java

+ 0 - 2
Source/Android/src/org/libsdl/app/SDLActivity.java

@@ -613,8 +613,6 @@ class SDLMain implements Runnable {
         // Urho3D: pass filesDir
         // Urho3D: pass filesDir
         SDLActivity.nativeInit(((Activity)SDLActivity.getContext()).getFilesDir().getAbsolutePath());
         SDLActivity.nativeInit(((Activity)SDLActivity.getContext()).getFilesDir().getAbsolutePath());
         //Log.v("SDL", "SDL thread terminated");
         //Log.v("SDL", "SDL thread terminated");
-        // Urho3D: finish activity when SDL_main returns
-        SDLActivity.finishActivity();
     }
     }
 }
 }