mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
f14fa1bbca
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> |
||
---|---|---|
.. | ||
2_function_arguments | ||
3_callbacks | ||
4_object_factory | ||
5_function_factory | ||
6_object_wrap | ||
7_factory_wrap | ||
8_passing_wrapped | ||
test_array | ||
test_bigint | ||
test_constructor | ||
test_conversions | ||
test_dataview | ||
test_date | ||
test_error | ||
test_exception | ||
test_function | ||
test_general | ||
test_handle_scope | ||
test_instance_data | ||
test_new_target | ||
test_number | ||
test_object | ||
test_promise | ||
test_properties | ||
test_reference | ||
test_reference_double_free | ||
test_string | ||
test_symbol | ||
test_typedarray | ||
.gitignore | ||
common.c | ||
common.h | ||
entry_point.c | ||
testcfg.py |