mirror of https://github.com/nodejs/node.git
03806a0bb2
The finalizer normally never gets called while a reference is strong. However, during environment shutdown all finalizers must get called. In order to unify the deferring behavior with that of a regular finalization, we must force the reference to be weak when we call its finalizer during environment shutdown. Fixes: https://github.com/nodejs/node/issues/37236 Co-authored-by: Chengzhong Wu <legendecas@gmail.com> PR-URL: https://github.com/nodejs/node/pull/37303 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> 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 |