Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-26 | fix(napi): clear currently registering module slot (#19249) | Bartek IwaĆczuk | |
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> |