com.facebook.react.ReactRootView instance Leaking(View.mContext references a destoryed activity) #42391
Labels
Needs: Author Feedback
Needs: Triage 🔍
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
Memory Leak detected by Leak Canary
com.facebook.react.ReactRootView instance Leaking(View.mContext references a destroyed activity)
See those 2 old & closed issues:
#34192
#34364
Steps to reproduce
https://github.com/EliottG-Bam/repro
A memory leak will be detected after running this project on Android for a few minutes
this project only one page, just run on android , leakcanary-android help detected
Snack, code example, screenshot, or link to a repository
https://github.com/EliottG-Bam/repro
React Native Version
0.73.2
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/EliottG-Bam/repro
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: