Repository navigation
[$500] [Due for payment 2025-12-03] react-native-performance memory leak patch on Android #72343
Description
Activity
- changed the title
[-]`react-native-performance` memory leak patch[/-][+]`react-native-performance` memory leak patch on Android[/+]on Oct 10, 2025 Upstream PR has been merged. Let's wait for next release.
New version was released some time ago: https://github.com/oblador/react-native-performance/releases/tag/v6.0.0
I'm gonna prepare a PR that will remove current patch.
- addedReviewingHas a PR in reviewHas a PR in reviewWeeklyKSv2KSv2and removedMonthlyKSv2KSv2
on Nov 17, 2025 Looks like this needs a C+ could you assigned a c+ and bz @mateuuszzzzz?
I am happy to review linked PR
- addedBugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.
on Nov 18, 2025 Triggered auto assignment to @VictoriaExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.29 remaining items
I think $500 makes sense here
Reacted by Victoria O'Leary- addedExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributor
on Dec 16, 2025 - changed the title
[-][Due for payment 2025-12-03] `react-native-performance` memory leak patch on Android[/-][+][$250] [Due for payment 2025-12-03] `react-native-performance` memory leak patch on Android[/+]on Dec 16, 2025 Job added to Upwork: https://www.upwork.com/jobs/~022001042913833799711
- addedHelp WantedApply this label when an issue is open to proposals by contributorsApply this label when an issue is open to proposals by contributors
on Dec 16, 2025 Current assignee @aimane-chnaif is eligible for the External assigner, not assigning anyone new.
- changed the title
[-][$250] [Due for payment 2025-12-03] `react-native-performance` memory leak patch on Android[/-][+][$500] [Due for payment 2025-12-03] `react-native-performance` memory leak patch on Android[/+]on Dec 16, 2025 Upwork job price has been updated to $500
Hey @aimane-chnaif - I've sent you an offer in Upwork. Let me know once you have accepted it and I'll organize payment
Payment summary:
C: @mateuuszzzzz - contractor, not owed anything
C+: @aimane-chnaif - paid $500 via Upwork
If you haven't already, check out our contributing guidelines and patch guidelines for information on how to manage patches.
Patch Information
Library Name:
react-native-performanceLibrary Version: 5.1.4
Patch Number: 002
Patch Description:
fix-listeners-memory-leakFull Patch Filename:
react-native-performance+5.1.4+002+fix-listeners-memory-leak.patchPatch Details
Reason for Patch
This patch is part of memory leak audit.
react-native-performancehas a memory leak whereReactMarkerlisteners are not properly removed when the module is destroyed. Additionally,setupListenercan be called multiple times whengetPackagesis called multiple times, causing duplicate listeners.Changes Made
This PR mainly improves how listeners are added and removed. It also extracts lambdas into constants so that they can be consistently referenced when calling addListener and removeListener, preventing duplicate listeners and ensuring that listeners can be properly removed.
Upstream Status
Upstream PR/Issue: oblador/react-native-performance#118
Related Information
PR Introducing Patch: #72341
Additional Notes
This fix isn’t specific to our HybridApp setup, these issues can occur in any bare React Native or brownfield app on Android.
Checklist
details.mdfiledetails.mdfileIssue Owner
Current Issue Owner: @Upwork Automation - Do Not Edit