[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 6c495a806a
commit 77d2d55e1e
3 changed files with 27 additions and 9 deletions

View File

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

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