summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorlegendecas <legendecas@gmail.com>2022-12-20 01:43:39 +0800
committerlegendecas <legendecas@gmail.com>2022-12-20 01:44:42 +0800
commitf14fa1bbca5022166037cbf2a3d7d884ff157120 (patch)
treee83abc67262ebf9bc8af821a3060e5924f544d44 /node.gyp
parenta1b27b25bb01aadd3fd2714e4b136db11b7eb85a (diff)
downloadnode-new-f14fa1bbca5022166037cbf2a3d7d884ff157120.tar.gz
node-api: generalize finalizer second pass callback
Generalize the finalizer's second pass callback to make it cancellable and simplify the code around the second pass callback. With this change, it is determined that Reference::Finalize or RefBase::Finalize are called once, either from the env's shutdown, or from the env's second pass callback. All existing node-api js tests should pass without a touch. The js_native_api cctest is no longer applicable with this change, just removing it. PR-URL: https://github.com/nodejs/node/pull/44141 Refs: https://github.com/nodejs/node/issues/44071 Reviewed-By: Michael Dawson <midawson@redhat.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 0 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index 448cb8a8c7..4ef15c6248 100644
--- a/node.gyp
+++ b/node.gyp
@@ -1003,7 +1003,6 @@
'test/cctest/test_base_object_ptr.cc',
'test/cctest/test_node_postmortem_metadata.cc',
'test/cctest/test_environment.cc',
- 'test/cctest/test_js_native_api_v8.cc',
'test/cctest/test_linked_binding.cc',
'test/cctest/test_node_api.cc',
'test/cctest/test_per_process.cc',