Hopefully decrease OOMs on crash screen

This commit is contained in:
yairm210 2025-03-17 11:57:39 +02:00
parent df2c1da5b8
commit 34b6b27958

View File

@ -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())
}