MAUI .net 9 Memory Leaks
I am facing a couple of memory leaks, wondering if anyone faced this and/or can suggest a workaround
~~1. A ViewModel like the one bellow is never garbage collected:~~
~~After navigating to and back from the page, the page itself is cleared, but the VM is never garbage collected (because of the List), consistent on all platforms~~
Nevermind for issue 1 it was a mistake on my part ^^'
2. A Layout with BindableLayout, inside of a CollectionVIew, CarouselView or anything with ItemsSource, causes a cascading memory leak and the entire page is never garbage collected
This combo seems to be radio-active for some reason, but only on IOS
A combo like CollectionView inside CollectionView doesn't leak however
Any ideas? i would be thankful for any workaround as we're in full crisis mode at my company because of this.
I created an issue on Git: