Title: worker: correct (de)initialization order by addaleax · Pull Request #22773 · nodejs/node · GitHub
Open Graph Title: worker: correct (de)initialization order by addaleax · Pull Request #22773 · nodejs/node
X Title: worker: correct (de)initialization order by addaleax · Pull Request #22773 · nodejs/node
Description: Initialize thread_exit_async_ only once the thread has been started. This is done since it is only triggered from the thread when it is exiting. Move the final uv_run to the Worker destructor. This makes sure that it is always run, regardless of whether the thread is actually started or not. Always dispose the Isolate before cleaning up the libuv event loop. This now matches the reverse order of initialization. Fixes: #22736 Checklist make -j4 test (UNIX), or vcbuild test (Windows) passes tests and/or benchmarks are included commit message follows commit guidelines /cc @nodejs/workers
Open Graph Description: Initialize thread_exit_async_ only once the thread has been started. This is done since it is only triggered from the thread when it is exiting. Move the final uv_run to the Worker destructor. This...
X Description: Initialize thread_exit_async_ only once the thread has been started. This is done since it is only triggered from the thread when it is exiting. Move the final uv_run to the Worker destructor. This...
Opengraph URL: https://github.com/nodejs/node/pull/22773
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files/:range(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:36edb029-4701-7fe2-8f81-7f17de73f387 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E642:22F696:529FE21:6EBBEBF:6995B020 |
| html-safe-nonce | 1448dd8e3338f67ab36894f44242a3b4ea516f4de078d2160e4133c642bcf906 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjQyOjIyRjY5Njo1MjlGRTIxOjZFQkJFQkY6Njk5NUIwMjAiLCJ2aXNpdG9yX2lkIjoiNjA0NDAwMTk5Nzg4MzI4OTYzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 365fa1eb288f018cc819de63dc6fa3669b5d2e2be6ae369541413b7eb2d7489e |
| hovercard-subject-tag | pull_request:214145982 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodejs/node/pull/22773/files/ebb15f6c5493fc2a5546f2449f31f528a02051a1 |
| twitter:image | https://avatars.githubusercontent.com/u/899444?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/899444?s=400&v=4 |
| og:image:alt | Initialize thread_exit_async_ only once the thread has been started. This is done since it is only triggered from the thread when it is exiting. Move the final uv_run to the Worker destructor. This... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4bd759bc5f83244e2a0de29b937365905c0fefd238b6f077c24a49830375b4df |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca709e595006be878b5ff15e639197cf6e6c8efb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width