
ItemConduitNetwork#inventoryRemoved is not called on chunk unload
Aaron1011 opened this issue ยท 1 comments
Issue Description:
ItemConduitNetwork#inventoryRemoved
is normally called when a conduit is removed. However, this method is not called when a chunk containing a conduit is unloaded
What you expected to happen:
The NetworkedInventory
remains in the ItemConduitNetwork.inventories
list. This memory leak is normally not much of an issue, but can become problematic with mods such as SpongeForge that unload chunks agressively.
Steps to reproduce:
- Place down a conduit in a chunk
- Observe that
ItemConduitNetwork#inventoryAdded
is called - Move away, and let the chunk unload
- Observe that
ItemCondutiNetwork#inventoryRemoved
is not called.
...
Affected Versions (Do not use "latest"):
- EnderIO: EnderIO-1.10.2-3.0.1.120_beta
- EnderCore: EnderCore - 1.10.2-0.4.1.56-beta Download
- Minecraft: 1.10.2
- Forge:12.18.1.2092