Resolve memory leak involving TileEntities

Their chunk is set to null before removal, so we kept them around.
This commit is contained in:
Spottedleaf
2019-05-14 14:54:32 -07:00
parent 8ff0f5c10d
commit b10550736e
145 changed files with 293 additions and 368 deletions

View File

@@ -8,7 +8,7 @@ These are a critical sign that somethin went wrong, and you've lost some data...
We should kind of know about these things you know.
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
index 340460a33..d384d3526 100644
index 067379252d..bac458fa54 100644
--- a/src/main/java/net/minecraft/server/WorldServer.java
+++ b/src/main/java/net/minecraft/server/WorldServer.java
@@ -0,0 +0,0 @@ public class WorldServer extends World {