Files
node/doc/api
Chengzhong Wu 6e66371eee node-api: document node-api shutdown finalization
As status quo, the cleanup hooks are invoked before the `napi_finalize`
callbacks at the exit of Node.js environments. This gives addons a
chance to release their resource in a proper order manually.

Document this behavior explicitly to advocate the usage on cleanup
hooks instead of relying on the implied invocation of `napi_finalize`
callbacks at shutdown.

PR-URL: https://github.com/nodejs/node/pull/45903
Fixes: https://github.com/nodejs/node/issues/45088
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2023-07-06 11:09:29 -04:00
..
2023-01-31 08:04:16 -05:00
2023-04-10 20:55:08 -04:00
2023-04-10 22:18:17 -04:00
2023-07-06 11:09:28 -04:00
2022-07-12 07:41:44 +02:00
2023-01-31 08:04:11 -05:00
2023-01-03 08:38:32 -05:00