You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: clean up handles in worker_threads environments to prevent aborting
When using in `worker_threads` Workers, Node.js will abort with messages like:
```
uv loop at [0x00000000] has open handles...
```
when workers are exiting or are terminated with active `DgramSocket` or `SeqpacketSocket`.
To fix this issue, we need clean up all active uv_handles in hooks registered by `napi_add_env_cleanup_hook`.
0 commit comments