Closing rooms room doesn't free memory
Looks like there's a kinda big leak since @jsparber refactored the way history is loaded. Most likely there are strong references of widgets passed into callbacks that cause this. The easy mitigation would be to call Looks like its not the case..destroy()
on the whole listbox when changing rooms probably. The preferred solution would be to pass GWeakRef
s instead and avoid the need to manually .destroy()
things to clean after us.
Steps to reproduce:
- Open Fractal
- Enter a room
- Hit escape
- Enter room again
- Repeat endlessly
Edited by Jordan Petridis