Flaxbeard / ImmersivePetroleum

Oil and oil processing for Immersive Engineering
https://minecraft.curseforge.com/projects/immersive-petroleum
54 stars 58 forks source link

World leak in EventHandler#toRemove #154

Closed malte0811 closed 4 years ago

malte0811 commented 4 years ago

The worlds (keys) are never removed from the map. This causes a lot of log spam from Forge complaining about leaked worlds. The value lists of the map are also never cleared, which is probably a bug as well.
A similar issue can probably happen with napalmPositions as well.

Noticed on the official IE server.

Flaxbeard commented 4 years ago

Should be resolved in next update