Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix leak on Command Element #26044

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pictos
Copy link
Contributor

@pictos pictos commented Nov 21, 2024

Description of Change

This PRs make sure that controls that implements ICommandElement unsubscribe from Command.CanExecuteChanged event avoid the control to leak if the Command lives longer than it.

Issues Fixed

Fixes #16124

@pictos pictos requested a review from a team as a code owner November 21, 2024 23:47
Copy link
Contributor

Hey there @pictos! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community ✨ Community Contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RefreshView can have a memory leak with a custom ICommand
1 participant