1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/ext/napi
Bartek Iwańczuk 512d5337c4
fix(napi): clear currently registering module slot (#19249)
This commit fixes problem with loading N-API modules that use 
the "old" way of registration (using "napi_module_register" API).
The slot was not cleared after loading modules, causing subsequent
calls that use the new way of registration (using 
"napi_register_module_v1" API) to try and load the previous module.

Ref https://github.com/denoland/deno/issues/16460

---------

Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2023-05-26 10:10:17 +05:30
..
Cargo.toml 1.34.0 (#19246) 2023-05-24 23:38:01 +00:00
function.rs fix(napi): correctly handle name in napi_create_function (#17489) 2023-01-22 15:04:18 +05:30
lib.rs fix(napi): clear currently registering module slot (#19249) 2023-05-26 10:10:17 +05:30
README.md fix(napi): move napi symbols file (#16179) 2022-10-07 09:21:43 +05:30
value.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00