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

Fixed crash when moduleCalss init calls enqueueJSCall #1117

Closed
wants to merge 1 commit into from
Closed

Fixed crash when moduleCalss init calls enqueueJSCall #1117

wants to merge 1 commit into from

Conversation

artemyarulin
Copy link

Fixes #1116 (it contains more detailed explanation)

In short RCTBridge.setUp calls [[moduleClass alloc] init] which can call bridge.enqueueJSCall and create a crash because bridge.setUp not yet finished

@facebook-github-bot facebook-github-bot 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 May 3, 2015
@nicklockwood
Copy link
Contributor

@tadeuzagallo is this fix included in your bridge changes already, or is it a new issue?

@tadeuzagallo
Copy link
Contributor

It's included, we talked about it on the issue instead of in the PR, but I believe it can be closed.

ayushjainrksh pushed a commit to MLH-Fellowship/react-native that referenced this pull request Jul 2, 2020
Remove `openSettings` from docs for v0.59
mganandraj pushed a commit to mganandraj/react-native that referenced this pull request May 13, 2022
…p-14

chore: Use node 14 for Apple test loops
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Race condition in RCTBridge
5 participants