Skip to content

[Fabric] Fix ScrollViewComponentView object leak #13633

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

Merged
merged 7 commits into from
Aug 30, 2024

Conversation

acoates-ms
Copy link
Contributor

@acoates-ms acoates-ms commented Aug 29, 2024

Description

ScrollViewComponentView's are currently leaking when used. This fixes the ref cycle between the ScrollView and the ScrollBars. I also added a new command to playground-composition to unload the instance which helps debug leak issues.

Microsoft Reviewers: Open in CodeFlow

@acoates-ms acoates-ms requested a review from a team as a code owner August 29, 2024 19:03
Copy link
Contributor

@rurikoaraki rurikoaraki left a comment

Choose a reason for hiding this comment

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

:shipit:

@acoates-ms acoates-ms merged commit 3486e57 into microsoft:main Aug 30, 2024
59 checks passed
@acoates-ms acoates-ms deleted the scrollleak branch August 30, 2024 17:49
acoates-ms added a commit to acoates-ms/react-native-windows that referenced this pull request Aug 30, 2024
* [Fabric] Fix ScrollViewComponentView object leak

* Change files

* fix

* fix

* Update CompositionEventHandler.cpp

* fix
acoates-ms added a commit to acoates-ms/react-native-windows that referenced this pull request Aug 30, 2024
* [Fabric] Fix ScrollViewComponentView object leak

* Change files

* fix

* fix

* Update CompositionEventHandler.cpp

* fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants