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
test: add edge case and worker termination tests for Node-API (#32986)
## Summary
- Add async cleanup hook tests (`napi_add_async_cleanup_hook` /
`napi_remove_async_cleanup_hook`), verifying LIFO ordering on exit and
that removed hooks don't fire
- Add reference double-free safety test (runs in subprocess to avoid
crashing the test runner)
- Add recursive `napi_make_callback` test, verifying nested async
contexts work when JS and native code bounce back and forth
- Add worker termination tests, verifying that terminating a Worker with
a loaded NAPI addon (including pending external buffer finalizers) does
not crash
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments