Closed dario279 closed 5 years ago
This seems like a Xamarin.Forms bug, rather than a Mono bug.
Profiling the test sample application shows that event handlers are not removed on widget destroy.
cc @jsuarezruiz
@dario279 could you please file the bug against Xamarin.Forms?
In example, WPF backend does remove the event handler on dispose: https://github.com/xamarin/Xamarin.Forms/blob/f24d6a3d6e0dd230f44273ff66e2fe04ac85a2b7/Xamarin.Forms.Platform.WPF/Renderers/ViewRenderer.cs#L322
This is not a problem solvable in gtk#
Thank you @Therzok . I opened a bug in Xamarin forms.
Steps to Reproduce
Current Behavior
Garbage collection doesn't free memory after pop a page.
Expected Behavior
Garbage collector should free memory after pop a page.
On which platforms did you notice this
Linux
Version Used:
I tested with several of them but at the newest one (5.20.0) is happening too.
TestHMI.zip