summaryrefslogtreecommitdiff
path: root/tests/specs/npm/lifecycle_scripts/main.js
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-08-28 10:33:47 -0700
committerGitHub <noreply@github.com>2024-08-28 10:33:47 -0700
commit7dd861aa36974d5afa9633078b51c4c7f17cf181 (patch)
tree4cc81fba16d87433ab6d04d377ad0f2590560367 /tests/specs/npm/lifecycle_scripts/main.js
parent0e50bb1d4abd80da3fc1be17978760ddfa8560fa (diff)
fix(napi): Fix worker threads importing already-loaded NAPI addon (#25245)
Part of #20613. If a node addon is using the legacy `napi_module_register` on ctor approach to module registration, we have to store the registered module so that other threads can load the addon (because `napi_module_register` will only be called once per process).
Diffstat (limited to 'tests/specs/npm/lifecycle_scripts/main.js')
0 files changed, 0 insertions, 0 deletions