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

@@ -25,7 +25,7 @@ The point of this is readability, but does have a side-benefit of a small microp
Finally, added a couple obfhelpers for the modified code
diff --git a/src/main/java/net/minecraft/server/JsonList.java b/src/main/java/net/minecraft/server/JsonList.java
index 04f98167d..c169d0176 100644
index 04f98167d3..c169d01762 100644
--- a/src/main/java/net/minecraft/server/JsonList.java
+++ b/src/main/java/net/minecraft/server/JsonList.java
@@ -0,0 +0,0 @@ public class JsonList<K, V extends JsonListEntry<K>> {