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

Memory Leak in Style with Trigger - fix #22503

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

Conversation

kubaflo
Copy link
Contributor

@kubaflo kubaflo commented May 18, 2024

Issues Fixed

Fixes #22036

@kubaflo kubaflo requested a review from a team as a code owner May 18, 2024 13:50
Copy link
Contributor

Hey there @kubaflo! 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 May 18, 2024
@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jsuarezruiz jsuarezruiz added the area-xaml XAML, CSS, Triggers, Behaviors label May 20, 2024
Copy link
Contributor

@jsuarezruiz jsuarezruiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you include a related test?
Here you can find an example:

Assert.IsNull(pagewr.Target, "Page leaked");
Let me know if can help in something :)

@kubaflo
Copy link
Contributor Author

kubaflo commented May 20, 2024

Could you include a related test? Here you can find an example:

Assert.IsNull(pagewr.Target, "Page leaked");

Let me know if can help in something :)

@jsuarezruiz I've added a test :)


var pagewr = new WeakReference(new Maui22036(useCompiledXaml));
await Task.Delay(10);
GC.Collect();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-xaml XAML, CSS, Triggers, Behaviors community ✨ Community Contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory Leak in Style with Trigger
3 participants