no more access violation from freeing already freed memory

This commit is contained in:
minjaesong
2019-06-08 03:29:38 +09:00
parent 15cb42e26b
commit 30ae587554
3 changed files with 11 additions and 2 deletions

View File

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