Uh oh!
There was an error while loading. Please reload this page.
src: simplify exit code accesses - #45125
Conversation
nodejs-github-bot
commented
Oct 22, 2022
Review requested:
|
daeyeon
commented
Oct 22, 2022
/cc @addaleax @nodejs/cpp-reviewers |
bd891da to
a107886CompareThis simplifies getting the exit code which is set through `process.exitCode` by removing manually reading the JS property from the native side. Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
a107886 to
eef1c86CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
daeyeon
commented
Oct 29, 2022
Changed the previous commit to use a typed array. PTAL. |
This comment was marked as outdated.
This comment was marked as outdated.
Uh oh!
There was an error while loading. Please reload this page.
204ca1e to
3a854d1Comparedaeyeon
commented
Nov 4, 2022
Updated by removing the new struct in the previous commit and extending the |
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
3a854d1 to
62819b1CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
daeyeon
commented
Nov 5, 2022
Applied the suggestions. PTAL. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
nodejs-github-bot
commented
Nov 9, 2022
daeyeon
commented
Nov 9, 2022
Fixed the CI failure. PTAL again. Thanks! |
nodejs-github-bot
commented
Nov 9, 2022
nodejs-github-bot
commented
Nov 9, 2022
nodejs-github-bot
commented
Nov 10, 2022
Landed in 7b1e153 |
RafaelGSS
commented
Nov 10, 2022
Hi @daeyeon. I tried to include this commit to the v19.1.0 proposal, but I got some conflicts. Could you please open a backport PR? |
daeyeon
commented
Nov 11, 2022
Hi @RafaelGSS. Sure, I will open it. |
daeyeon
commented
Nov 11, 2022
@RafaelGSS Come to think of it, this requires 2d0d997. Since it's a |
This simplifies getting the exit code which is set through
process.exitCodeby removingmanually reading the JS property from the native side.
Addresses this TODO:
node/src/api/hooks.cc
Lines 72 to 75 in 5815e3e
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com