paulevsGitch / BetterNether

BetterNether Mod
GNU General Public License v3.0
105 stars 73 forks source link

(1.12) Memory Leak: EventsHandler#server #478

Closed Meldexun closed 2 years ago

Meldexun commented 2 years ago

When joining a singleplayer world the integrated server instance will be assigned to the EventsHandler#server field. After leaving the world and joining a dedicated server the EventsHandler#server field will still hold the old value. Thus there will be a WorldServer instance in memory which can't be garbage collected.

paulevsGitch commented 2 years ago

1.12 is outdated and not supported