-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
[v10.x backport] src: implement v8::Platform::CallDelayedOnWorkerThread #22567
[v10.x backport] src: implement v8::Platform::CallDelayedOnWorkerThread #22567
Conversation
CI: https://ci.nodejs.org/job/node-test-pull-request/16825/ (@ak239 Just saw your comment in the other thread … it’s generally helpful to post CI links after kicking off CI 🙂) |
src/node_platform.cc
Outdated
@@ -53,6 +174,8 @@ void BackgroundTaskRunner::BlockingDrain() { | |||
|
|||
void BackgroundTaskRunner::Shutdown() { | |||
background_tasks_.Stop(); | |||
// pending_worker_tasks_.Stop(); |
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.
this can be removed
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.
done!
This method is crucial for Runtime.evaluate protocol command with timeout flag. At least Chrome DevTools frontend uses this method for every execution in console. Fixes: #22157
I removed commented code and restarted CI: https://ci.nodejs.org/job/node-test-pull-request/16826/ (✔️) |
Landed in b3dab8c |
This method is crucial for Runtime.evaluate protocol command with timeout flag. At least Chrome DevTools frontend uses this method for every execution in console. Backport-PR-URL: #22567 PR-URL: #22383 Fixes: #22157 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
This method is crucial for Runtime.evaluate protocol command with timeout flag. At least Chrome DevTools frontend uses this method for every execution in console. Backport-PR-URL: #22567 PR-URL: #22383 Fixes: #22157 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
This method is crucial for Runtime.evaluate protocol command with timeout flag. At least Chrome DevTools frontend uses this method for every execution in console. Backport-PR-URL: #22567 PR-URL: #22383 Fixes: #22157 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
This method is crucial for Runtime.evaluate protocol command with
timeout flag. At least Chrome DevTools frontend uses this method for
every execution in console.
Fixes: #22157
Original PR: #22383
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes