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

Cleanup pending timers after unmounting a component #1159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

retyui
Copy link

@retyui retyui commented Apr 19, 2024

Description

In order to identify pending timers after unmounting components in tests, I use a unique Jest script on the project (to prevent any memory leaks)
And today it has detected one more in a node_modules/@shopify/flash-list/src/viewability/ViewabilityHelper.ts file

@efstathiosntonas
Copy link
Contributor

efstathiosntonas commented Apr 22, 2024

And today it has detected one more

@retyui thank you for spotting this, can you please elaborate on what other memory leaks you have detected?

@retyui
Copy link
Author

retyui commented Apr 22, 2024

I have signed the CLA!

@retyui
Copy link
Author

retyui commented Apr 22, 2024

And today it has detected one more

@retyui thank you for spotting this, can you please elaborate on what other memory leaks you have detected?

I found in @xaaf/aaf-rn-sdk, those are not related to the flash-list

@retyui
Copy link
Author

retyui commented Jun 27, 2024

@naqvitalha Can you review it ?

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