Request a garbage collection after closing the DH world
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user