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

Do not create RuntimeExecutor on non-JSI executors (#38125) #38142

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

lunaleaps
Copy link
Contributor

Cherry-pick of 0542da1aca5d411964e3a0833f4c48428ed90c91 to the 0.72 branch
Summary:
Pull Request resolved: #38125

On Android, when using the remote debugging feature (using legacy websockets), it's not safe to assume we can get a jsi::Runtime from JSExecutor.

Changelog: [General][Fixed] Android does't crash when using remote debugger

Reviewed By: NickGerleman

Differential Revision: D47124234

fbshipit-source-id: 0542da1aca5d411964e3a0833f4c48428ed90c91

Summary:
Pull Request resolved: facebook#38125

On Android, when using the remote debugging feature (using legacy websockets), it's not safe to assume we can get a `jsi::Runtime` from `JSExecutor`.

Changelog: [General][Fixed] Android does't crash when using remote debugger

Reviewed By: NickGerleman

Differential Revision: D47124234

fbshipit-source-id: 0542da1aca5d411964e3a0833f4c48428ed90c91
@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 Jun 30, 2023
@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,547,717 -499,779
android hermes armeabi-v7a 7,861,378 -435,397
android hermes x86 9,026,455 -537,214
android hermes x86_64 8,881,763 -524,203
android jsc arm64-v8a 9,147,172 -458,805
android jsc armeabi-v7a 8,336,626 -396,067
android jsc x86 9,200,242 -492,776
android jsc x86_64 9,458,648 -480,669

Base commit: 5fd32d7
Branch: main

@kelset kelset merged commit d73b61c into facebook:0.72-stable Jul 10, 2023
Kudo pushed a commit to expo/react-native that referenced this pull request Jul 11, 2023
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. p: Facebook Partner: Facebook Partner Pick Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants