mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 23:37:31 +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:
parent
121bda2833
commit
e58e184889
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user