Skip to content

Commit 0db9af7

Browse files
authored
Merge pull request kivy#923 from dzmitrykrukouski/fix_application_closing_with_SDL2
Complete closure of the application with SDL2.
2 parents 31a3d59 + 8cdea1c commit 0db9af7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pythonforandroid/bootstraps/sdl2/build/src/org/libsdl/app/SDLActivity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ protected void onDestroy() {
258258
super.onDestroy();
259259
// Reset everything in case the user re opens the app
260260
SDLActivity.initialize();
261+
262+
// Completely closes application.
263+
System.exit(0);
261264
}
262265

263266
@Override

0 commit comments

Comments
 (0)