I know this is a controversial subject and I know my reasons for wanting to quit my app aren’t pure:
- The client wants the app to start from scratch after user has left for 15 minutes.
- The app is in beta, and in order to prevent tiny leaks from crashing the app in the long run, I want to kill the app (until I am sure none such exist)
I currently do a background call 15 minutes after the users leaves the app and I do:
this.finish();
System.exit(0);
This seems to work fine. Does this really kill the process completely? Please no “you shouldn’t quit your app” lectures, I’ve already read through all those.
Just read the documentation: