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: repl crash when SharedArrayBuffer disabled #30456

Merged
merged 1 commit into from Aug 11, 2021

Conversation

codebytere
Copy link
Member

Description of Change

Refs nodejs/node#39717.

Can be reproduced with e node --no-harmony-sharedarraybuffer.

Fixes an issue where the repl will crash if it's required in the renderer process or invoked as above.

Checklist

Release Notes

Notes: Fixed a crash in the repl when SharedArrayBuffer is disabled.

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/13-x-y labels Aug 9, 2021
@codebytere codebytere requested a review from a team as a code owner August 9, 2021 17:11
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 9, 2021
@codebytere codebytere changed the title repl: fix crash when SharedArrayBuffer disabled fix: repl crash when SharedArrayBuffer disabled Aug 9, 2021
@codebytere codebytere force-pushed the fix-shared-array-buffer-crash branch from 1eede72 to 51d65a8 Compare August 9, 2021 17:16
Copy link
Member

@ckerr ckerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nodejs/node#39718 (review) is a little troubling, if it also applies to Electron.

@codebytere
Copy link
Member Author

@ckerr it does - i've tuned it up in both places :)

@codebytere codebytere force-pushed the fix-shared-array-buffer-crash branch from 51d65a8 to 24fbc24 Compare August 10, 2021 08:19
@codebytere codebytere force-pushed the fix-shared-array-buffer-crash branch from 24fbc24 to 2906740 Compare August 10, 2021 08:31
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Aug 10, 2021
@zcbenz zcbenz merged commit ac49e6a into main Aug 11, 2021
@zcbenz zcbenz deleted the fix-shared-array-buffer-crash branch August 11, 2021 00:42
@release-clerk
Copy link

release-clerk bot commented Aug 11, 2021

Release Notes Persisted

Fixed a crash in the repl when SharedArrayBuffer is disabled.

@trop
Copy link
Contributor

trop bot commented Aug 11, 2021

I have automatically backported this PR to "13-x-y", please check out #30482

@trop
Copy link
Contributor

trop bot commented Aug 11, 2021

I have automatically backported this PR to "15-x-y", please check out #30483

@trop trop bot removed the target/15-x-y label Aug 11, 2021
@trop
Copy link
Contributor

trop bot commented Aug 11, 2021

I have automatically backported this PR to "14-x-y", please check out #30484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants