Controlify

Controlify

609k Downloads

Memory leak

road2react opened this issue ยท 1 comments

commented

image

ControlifyEvents.VIRTUAL_MOUSE_TOGGLED.register(this::onVirtualMouseToggled);

Each instance of ScreenProcessor registers another callback, which references the ScreenProcessor, which references DownloadingTerrainScreen, which references a world. These callbacks are never cleaned up, leaking memory.

commented

Thanks for debugging this, will take a look