| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Review requested:
|
Sorry, something went wrong.
Signed-off-by: Matteo Collina <hello@matteocollina.com> Fixes: nodejs#46765
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, though jump is a weird name...
Sorry, something went wrong.
what would you recommend? |
Sorry, something went wrong.
onConstructNT and onConstruct, like we usually do? |
Sorry, something went wrong.
|
Or: try {
stream._construct(err => {
process.nextTick(onConstruct, err);
});
} catch (err) {
process.nextTick(onConstruct, err);
} |
Sorry, something went wrong.
Sorry, something went wrong.
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Sorry, something went wrong.
|
Just double-checking: with this change there are now three (3) process.nextTick calls involved in a construct call: constructNT -> onConstruct -> emitConstructNT. That's intentional? |
Sorry, something went wrong.
Good spot! I was able to remove one. |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
This change applies the same fix as nodejs/node#46818, and the original example given in #20456 works as expected. closes #20456
This change applies the same fix as nodejs/node#46818, and the original example given in #20456 works as expected. closes #20456 (cherry picked from commit bf42467)
This change applies the same fix as nodejs/node#46818, and the original example given in #20456 works as expected. closes #20456
| Back | FazBrowse Home | New Git URL |
Fixes: #46765