Skip to content

Commit

Permalink
Merge pull request #923 from dzmitrykrukouski/fix_application_closing…
Browse files Browse the repository at this point in the history
…_with_SDL2

Complete closure of the application with SDL2.
  • Loading branch information
akshayaurora authored Dec 8, 2016
2 parents 31a3d59 + 8cdea1c commit 0db9af7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ protected void onDestroy() {
super.onDestroy();
// Reset everything in case the user re opens the app
SDLActivity.initialize();

// Completely closes application.
System.exit(0);
}

@Override
Expand Down

0 comments on commit 0db9af7

Please sign in to comment.