1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 07:39:15 -05:00
denoland-deno/tests/specs/permission/allow_import_worker
Yoshiya Hinosawa 350d9dce41
fix(ext/node): do not exit worker thread when there is pending async op (#27378)
This change fixes the premature exit of worker threads when there are still
remaining pending ops.

This change reuses the idea of #22647 (unref'ing `op_worker_recv_message` in
worker threads if closeOnIdle specified) and uses
`web_worker.has_message_event_listener` check in the opposite way as
#22944. (Now we continue the worker when `has_message_event_listener` is
true instead of stopping it when `has_message_event_listener` is false.

closes #23061
closes #26154
2024-12-19 17:39:20 +09:00
..
__test__.jsonc fix(unstable/worker): ensure import permissions are passed (#26101) 2024-10-10 14:01:42 +01:00
denied.out fix(ext/node): do not exit worker thread when there is pending async op (#27378) 2024-12-19 17:39:20 +09:00
main.ts fix(unstable/worker): ensure import permissions are passed (#26101) 2024-10-10 14:01:42 +01:00
main_denied.ts fix(unstable/worker): ensure import permissions are passed (#26101) 2024-10-10 14:01:42 +01:00
worker.ts fix(unstable/worker): ensure import permissions are passed (#26101) 2024-10-10 14:01:42 +01:00