Request a garbage collection after closing the DH world

This commit is contained in:
James Seibel
2023-08-13 13:36:47 -05:00
parent 470c9ff5b5
commit 8df8ed4a02
@@ -46,6 +46,9 @@ public class SharedApi
ColumnRenderBufferBuilder.shutdownExecutorService();
WorldGenerationQueue.shutdownWorldGenThreadPool();
ChunkToLodBuilder.shutdownExecutorService();
// recommend that the garbage collector cleans up any objects from the old world
System.gc();
}
}