The Wayback Machine - https://web.archive.org/web/20220423175852/https://github.com/nodejs/node/pull/35024
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

src: add get/set pair for env context awareness #35024

Closed
wants to merge 1 commit into from

Conversation

Copy link
Member

@codebytere codebytere commented Sep 2, 2020

This PR adds in a getter/setter pair for forcing context awareness of native Node.js modules within Environment.

Electron wants to force this in our initialization logic for the Renderer process (e.g outside the context of spawning a process), and this helps us by removing a patch that added this in.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
@nodejs-github-bot nodejs-github-bot added the c++ label Sep 2, 2020
@codebytere codebytere requested a review from joyeecheung Sep 2, 2020
@joyeecheung joyeecheung added the request-ci label Sep 2, 2020
@github-actions github-actions bot removed the request-ci label Sep 2, 2020
@nodejs nodejs deleted a comment from nodejs-github-bot Sep 4, 2020
@codebytere codebytere added the author ready label Sep 4, 2020
@codebytere
Copy link
Member Author

@codebytere codebytere commented Sep 4, 2020

Landed in 89f2d46

@codebytere codebytere closed this Sep 4, 2020
codebytere added a commit that referenced this issue Sep 4, 2020
PR-URL: #35024
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@codebytere codebytere deleted the force-context-aware branch Sep 4, 2020
richardlau pushed a commit that referenced this issue Sep 7, 2020
PR-URL: #35024
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@richardlau richardlau mentioned this pull request Sep 7, 2020
4 tasks
richardlau pushed a commit that referenced this issue Sep 7, 2020
PR-URL: #35024
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
addaleax pushed a commit that referenced this issue Sep 22, 2020
PR-URL: #35024
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
addaleax pushed a commit that referenced this issue Sep 22, 2020
PR-URL: #35024
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@codebytere codebytere mentioned this pull request Sep 28, 2020
joesepi pushed a commit to joesepi/node that referenced this issue Jan 8, 2021
PR-URL: nodejs#35024
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready c++
5 participants