Fix Massive Memory Leak

Pathfinder objects are storing references to ChunkCache's, and never cleaning up.

These ChunkCache's then leak other entity objects. Those entity objects then have leaks to their
own chunk cache. A recursive problem....

Clean up the ChunkCache reference after it is done being used.
This commit is contained in:
Aikar
2016-03-31 19:08:27 -04:00
parent 0a01580011
commit 8b77debaf3
2 changed files with 27 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ import PacketPlayInResourcePackStatus
import PacketPlayOutPlayerListHeaderFooter
import PacketPlayOutTitle
import PacketPlayOutUpdateTime
import PathfinderAbstract
import PathfinderGoalFloat
import PersistentVillage
import TileEntityEnderChest