Skip to content

Conversation

@aritchie
Copy link
Contributor

Collection views, Carousel Views, or any control that has reusable cells - has events that have us calling for hooks on controls where we may already have them (ie. Button with a CV cell). Due to events being multicast, we end adding a hook and never removing the previous one. To make this issue worse, because our SentryMauiEventBinder is singleton - it means controls and therefore their entire page - unable to cleanup.

This PR shouldn't require additional tests since logic hasn't changed.

@aritchie aritchie marked this pull request as ready for review May 2, 2025 15:52
@bruno-garcia bruno-garcia merged commit f92814d into main May 2, 2025
27 checks passed
@bruno-garcia bruno-garcia deleted the maui_mem_leak_fix branch May 2, 2025 20:27
bruno-garcia added a commit that referenced this pull request Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants