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 memory leak bug in RCTModalHost #9295

Closed
wants to merge 1 commit into from
Closed

Fix memory leak bug in RCTModalHost #9295

wants to merge 1 commit into from

Conversation

Roshanjossey
Copy link

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

Solves #9265

Previously _hostViews was allocated if it already exists. Now _hostViews
will be allocated if it doesn't exist. ie, only one time.
@ghost
Copy link

ghost commented Aug 8, 2016

By analyzing the blame information on this pull request, we identified @javache and @jemise111 to be potential reviewers.

@ghost ghost added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Aug 8, 2016
@ide
Copy link
Contributor

ide commented Aug 8, 2016

@facebook-github-bot shipit

@ghost ghost added GH Review: accepted Import Started This pull request has been imported. This does not imply the PR has been approved. and removed GH Review: review-needed labels Aug 8, 2016
@ghost
Copy link

ghost commented Aug 8, 2016

Thanks for importing.If you are an FB employee go to Phabricator to review internal test results.

@ghost ghost added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 8, 2016
@ghost ghost closed this in 915345b Aug 8, 2016
@Roshanjossey Roshanjossey deleted the fix-rct-modal-host-memory-leak branch August 9, 2016 02:56
@Roshanjossey
Copy link
Author

@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?

@ide
Copy link
Contributor

ide commented Aug 9, 2016

It means your PR was merged, see the commit hash in the message.

@Roshanjossey
Copy link
Author

Awesome 🎉 . Thank you @ide

cmcewen pushed a commit to cmcewen/react-native that referenced this pull request Aug 15, 2016
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
mpretty-cyro pushed a commit to HomePass/react-native that referenced this pull request Aug 25, 2016
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
@Roshanjossey Roshanjossey restored the fix-rct-modal-host-memory-leak branch September 6, 2016 14:46
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Import Started This pull request has been imported. This does not imply the PR has been approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants