creativitRy / CloudCanards

Old version of CloudCanards made in libgdx, now migrated to Unity
https://www.cloudcanards.com/
5 stars 0 forks source link

Pixmap already disposed #7

Open creativitRy opened 7 years ago

creativitRy commented 7 years ago
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Pixmap already disposed!
    at com.badlogic.gdx.graphics.Pixmap.dispose(Pixmap.java:314)
    at com.badlogic.gdx.graphics.g2d.PixmapPacker$Page$1.dispose(PixmapPacker.java:381)
    at com.badlogic.gdx.graphics.g2d.BitmapFont.dispose(BitmapFont.java:317)
    at com.badlogic.gdx.assets.AssetManager.unload(AssetManager.java:215)
    at com.badlogic.gdx.assets.AssetManager.clear(AssetManager.java:666)
    at com.badlogic.gdx.assets.AssetManager.dispose(AssetManager.java:634)
    at com.cloudcanards.loading.ResourceManager.dispose(ResourceManager.java:137)
    at com.cloudcanards.CloudCanards.dispose(CloudCanards.java:122)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:245)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

Probably from disposing freetype fonts