Question
Android and iOS closing app?
I am developing an app for Android and iOS and when I press the home button on my Android phone the game's thread is still running in the background.
The music keeps on going.
How can I detect when the user exits the app in order to stop the music or terminate the app's thread?
How can I terminate the app's thread?
