mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-21 21:30:20 +07:00
close app completely when clicked 'Exit' button (#7655)
* kill app when clicked 'Exit' button * add super.onDestroy() * tries to fix temporarily * Update AndroidLauncher.kt * add System.exit(0) * a little fix
This commit is contained in:
@ -399,6 +399,8 @@ class UncivGame(parameters: UncivGameParameters) : Game() {
|
||||
|
||||
// On desktop this should only be this one and "DestroyJavaVM"
|
||||
logRunningThreads()
|
||||
|
||||
System.exit(0)
|
||||
}
|
||||
|
||||
private fun logRunningThreads() {
|
||||
|
Reference in New Issue
Block a user