mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-30 23:18:29 +00:00
[Android] Handle native thread finishing when not commanded from the Java side
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user