diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-08-28 10:33:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 10:33:47 -0700 |
commit | 7dd861aa36974d5afa9633078b51c4c7f17cf181 (patch) | |
tree | 4cc81fba16d87433ab6d04d377ad0f2590560367 /tests/unit/truncate_test.ts | |
parent | 0e50bb1d4abd80da3fc1be17978760ddfa8560fa (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/unit/truncate_test.ts')
0 files changed, 0 insertions, 0 deletions