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: PullToRefresh memory leak on Android #9

Conversation

dgmachado
Copy link

No description provided.

@farfromrefug
Copy link
Member

to be honest i would like to.understand why it is a leak. we dispose the listener in disposeNativeView so.it should not happen.
did you debug this with android studio?

@dgmachado
Copy link
Author

To be also honest I've isolated only this change trying to reproduce the leak to show you and I saw that another MR fixes the PullToRefresh leak. If the disposeNativeView is called the retain cycle doesn't happen. You're right.

I'll close this MR right now. Thank you for your feedback @farfromrefug.

@dgmachado dgmachado closed this Aug 2, 2022
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