[FEATURE] Automatic hooking and unhooking of events in drawables
Beyley opened this issue · 0 comments
Beyley commented
Is your feature request related to a problem? Please describe.
If you forget to unhook events on a drawable after its dispose is called, the events can cause a memory leak
Describe the solution you'd like
Some way of marking events and your handlers in a way where the engine will automatically unhook them after