Skip to content

Fix stack overflow in createRootView#43420

Closed
javache wants to merge 1 commit intofacebook:mainfrom
javache:export-D54772205
Closed

Fix stack overflow in createRootView#43420
javache wants to merge 1 commit intofacebook:mainfrom
javache:export-D54772205

Conversation

@javache
Copy link
Copy Markdown
Member

@javache javache commented Mar 11, 2024

Summary:
Calling mReactDelegate.createRootView just ends up calling the overridden method in the anonymous inner class. Instead have the base implementation return null, and call super.

Changelog: [Internal]

Differential Revision: D54772205

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Mar 11, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D54772205

Summary:

Calling `mReactDelegate.createRootView` just ends up calling the overridden method in the anonymous inner class. Instead have the base implementation return null, and call super.

Changelog: [Internal]

Differential Revision: D54772205
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D54772205

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 11, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in da21799.

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. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants