Fix updating chunk count not clearing on world close

This commit is contained in:
James Seibel
2024-05-04 15:35:29 -05:00
parent f34e67e6bb
commit e1ca398b8f
@@ -110,6 +110,8 @@ public class SharedApi
ThreadPoolUtil.shutdownThreadPools();
DebugRenderer.clearRenderables();
MC_RENDER.clearTargetFrameBuffer();
// needs to be closed on world shutdown to clear out un-processed chunks
UPDATING_CHUNK_POS_SET.clear();
// recommend that the garbage collector cleans up any objects from the old world and thread pools
System.gc();