node-api: stop ref gc during environment teardown
A gc may happen during environment teardown. Thus, during finalization initiated by environment teardown we must remove the V8 finalizer before calling the Node-API finalizer. Fixes: https://github.com/nodejs/node/issues/37236 PR-URL: https://github.com/nodejs/node/pull/37616 Reviewed-By:Chengzhong Wu <legendecas@gmail.com> Reviewed-By:
Michael Dawson <midawson@redhat.com>
parent
5e6386ec
Please register or sign in to comment