mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-23 11:34:54 -04:00
Hopefully decrease OOMs on crash screen
This commit is contained in:
parent
df2c1da5b8
commit
34b6b27958
@ -113,6 +113,7 @@ class CrashScreen(val exception: Throwable) : BaseScreen() {
|
||||
}
|
||||
|
||||
init {
|
||||
System.gc() // If we previously died to an OOM error, this decreases the chances that the *crash screen* will OOM as well
|
||||
stage.addActor(makeLayoutTable())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user