-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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 memory leak bug in RCTModalHost #9295
Fix memory leak bug in RCTModalHost #9295
Conversation
Solves #9265 Previously _hostViews was allocated if it already exists. Now _hostViews will be allocated if it doesn't exist. ie, only one time.
By analyzing the blame information on this pull request, we identified @javache and @jemise111 to be potential reviewers. |
@facebook-github-bot shipit |
Thanks for importing.If you are an FB employee go to Phabricator to review internal test results. |
915345b
@ide: I see that facebook-github-bot-3 closed this PR. I couldn't understand what this meant. Could you please shed some light in to this? |
It means your PR was merged, see the commit hash in the message. |
Awesome 🎉 . Thank you @ide |
Summary: This PR addresses issue facebook#9265. Negated the condition that checks if `_hostViews` exists so that `_hostViews` will be allocated only if it doesn't exist Closes facebook#9295 Differential Revision: D3686214 fbshipit-source-id: ec0caac99d231786eefad023f3f0ed44a79f687e
Summary: This PR addresses issue facebook#9265. Negated the condition that checks if `_hostViews` exists so that `_hostViews` will be allocated only if it doesn't exist Closes facebook#9295 Differential Revision: D3686214 fbshipit-source-id: ec0caac99d231786eefad023f3f0ed44a79f687e
This PR addresses issue #9265.
Negated the condition that checks if
_hostViews
exists so that_hostViews
will be allocated only if it doesn't exist