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 breadcrumb memory leakage issue #568

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Fix breadcrumb memory leakage issue #568

merged 1 commit into from
Feb 11, 2025

Conversation

rabbitism
Copy link
Member

@rabbitism rabbitism commented Feb 10, 2025

It is so bad to add a static subscription of Separator content change for every breadcrumb item...
But it's hard to test with unit test. I just add some evidence from dotMemory analysis in sandbox project.
After breadcrumb is removed from visual tree:

Before fix:
image
Breadcrumb is still retained by this property change subscription.

After fix:
image
It is no longer retained.

@zdpcdt zdpcdt merged commit 543597a into main Feb 11, 2025
2 checks passed
@rabbitism rabbitism deleted the breadcrumb branch February 27, 2025 08:04
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.

2 participants