java - LibGDX not disposing properly? -


when disposing of libgdx game on desktop, noticing problems. when window closed, application moved background process , not deleted. when 4 or 5 not taken care of in task manager, enough bring system crawl. in console, closing through exit button or gdx.app.exit(); produces following stacktrace:

exception in thread "lwjgl application" com.badlogic.gdx.utils.gdxruntimeexception: java.lang.stackoverflowerror @ com.badlogic.gdx.backends.lwjgl.lwjglapplication$1.run(lwjglapplication.java:113) caused by: java.lang.stackoverflowerror @ com.badlogic.gdx.game.dispose(game.java:31) @ com.name.game.core.dispose(core.java:23) @ com.name.game.screens.gamescreen.dispose(gamescreen.java:49) @ com.name.game.screens.gamescreen.hide(gamescreen.java:36) 

all dispose() methods should called appropriately, , dispose() methods dispose of applicable resources in class.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -