From d2151690addb2f0c7fe397e64c763fa8716e4190 Mon Sep 17 00:00:00 2001 From: Vatuu <21113232+Vatuu@users.noreply.github.com> Date: Thu, 4 Aug 2022 00:27:33 +0200 Subject: [PATCH] Fixed pregen memory leak. --- .../java/com/volmit/iris/core/pregenerator/IrisPregenerator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/volmit/iris/core/pregenerator/IrisPregenerator.java b/src/main/java/com/volmit/iris/core/pregenerator/IrisPregenerator.java index a28628b46..d143cea84 100644 --- a/src/main/java/com/volmit/iris/core/pregenerator/IrisPregenerator.java +++ b/src/main/java/com/volmit/iris/core/pregenerator/IrisPregenerator.java @@ -140,6 +140,7 @@ private void shutdown() { generator.close(); ticker.interrupt(); listener.onClose(); + getMantle().trim(0); } private void visitRegion(int x, int z, boolean regions) {