Describe the bug
The RippleHost Eventhandlers do not get properly removed, causing references to already deleted objects to persist forever, and not being garbage collected.
To Reproduce
Steps to reproduce the behavior:
Create a new Adonis Window
Add a ListView, add a Button as ListView.ItemTemplate (to have the ripple effect)
Bind the List to an ObservableCollection with any Object
Add a new Item to the List, and then remove it => Item stays in memory forever and is never garbage collected
Expected behavior
Proper removal of all eventhandlers to allowed already removed objects to be garbage collected
*Additional Info
Inspected using .net Memory Profiler
I created a sample app that reproduces that issue, just start it and wait, the memory will get more and more every second, even though the number of items displayed stays the same
Describe the bug The RippleHost Eventhandlers do not get properly removed, causing references to already deleted objects to persist forever, and not being garbage collected.
To Reproduce Steps to reproduce the behavior:
Expected behavior Proper removal of all eventhandlers to allowed already removed objects to be garbage collected
*Additional Info Inspected using .net Memory Profiler