Closed Joshsora closed 7 years ago
Is this issue related to your PR #35 ?
Yeah, my PR fixed this issue. For anyone else who may be wondering how to appropriately clean up LUI objects, call clear_parent()
, remove_all_children()
, and unbind_all()
on the object. You may also have to call unbind_all()
on any child that has an event bound to a method belonging to the object.
What is the correct way to cleanup an object? I've pasted what I've tried below but memory usage slowly creeps up over a session of opening and closing windows.