-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: break out of timers loop if !can_call_into_js()
#20884
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's probably worth expanding the commit message a little - LGTM
Expanded the commit message a bit – if you’re looking for something in particular, let me know :) |
a6e588e
to
6fc1585
Compare
Otherwise, this turns into an infinite loop when the flag is set, because it makes `MakeCallback()` return immediately.
6fc1585
to
5f84afe
Compare
Rebased, new CI: https://ci.nodejs.org/job/node-test-commit/18687/ |
Landed in 694ac6d |
Otherwise, this turns into an infinite loop when the flag is set, because it makes `MakeCallback()` return immediately. PR-URL: #20884 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
@nodejs/fs and @addaleax Should this be backported to 10.x? It seems like perhaps it is dependent on a Semver-Major and should be skipped. |
Otherwise, this turns into an infinite loop when the flag is set, because it makes `MakeCallback()` return immediately. PR-URL: nodejs#20884 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Otherwise, this turns into an infinite loop when the flag is set, because it makes `MakeCallback()` return immediately. Backport-PR-URL: #21168 PR-URL: #20884 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Split out from #20876
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes