mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 12:04:06 +09:00
no more access violation from freeing already freed memory
This commit is contained in:
@@ -82,6 +82,10 @@ open class IngameInstance(val batch: SpriteBatch) : Screen {
|
||||
*/
|
||||
override fun dispose() {
|
||||
printdbg(this, "Thank you for properly disposing the world!")
|
||||
printdbg(this, "dispose called by")
|
||||
Thread.currentThread().stackTrace.forEach {
|
||||
printdbg(this, "--> $it")
|
||||
}
|
||||
|
||||
world.dispose()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user