[Android] Handle native thread finishing when not commanded from the Java side

This commit is contained in:
Gabriel Jacobo 2013-12-05 10:51:38 -03:00
parent 31aa9d5b81
commit b3fa9a3e55
3 changed files with 27 additions and 9 deletions

View file

@ -287,11 +287,6 @@ main(int argc, char *argv[])
}
SDL_QuitSubSystem(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK);
#ifdef ANDROID
exit(0);
#else
return 0;
#endif
}
#else