summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-05-12 16:51:30 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-05-12 16:51:30 +0200
commitcd505c803951459cfcdd183716371e5c584fc5d2 (patch)
treee9bd96ccf1d32264eca33800cc679c84b8ce4a00 /core/src
parent7edb4a365217ac1b1855b33a00b78d4dfbc88887 (diff)
downloadRustAndDust-cd505c803951459cfcdd183716371e5c584fc5d2.zip
RustAndDust-cd505c803951459cfcdd183716371e5c584fc5d2.tar.gz
RustAndDust: dispose of generator
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/RustAndDust.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/RustAndDust.java b/core/src/ch/asynk/rustanddust/RustAndDust.java
index a5de2c4..3c0835e 100644
--- a/core/src/ch/asynk/rustanddust/RustAndDust.java
+++ b/core/src/ch/asynk/rustanddust/RustAndDust.java
@@ -241,6 +241,7 @@ public class RustAndDust extends Game
font = generator.generateFont(parameter);
bgPatch = uiAtlas.createPatch(BG_PATCH);
framePatch = uiAtlas.createPatch(FRAME_PATCH);
+ generator.dispose();
}
private void unloadUiAssets()