node/test/cctest
Joyee Cheung b00ff4270e
src,test: unregister the isolate after disposal and before freeing
The order of these calls is important. When the Isolate is disposed,
it may still post tasks to the platform, so it must still be registered
for the task runner to be found from the map. After the isolate is torn
down, we need to remove it from the map before we can free the address,
so that when another Isolate::Allocate() is called, that would not be
allocated to the same address and be registered on an existing map
entry.

PR-URL: https://github.com/nodejs/node/pull/58070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2025-05-02 17:07:18 -03:00
..
inspector inspector: fix StringUtil::CharacterCount for unicodes 2025-01-29 14:58:25 +00:00
node_test_fixture.cc src: disable abseil deadlock detection 2025-05-02 17:05:46 -03:00
node_test_fixture.h src,test: unregister the isolate after disposal and before freeing 2025-05-02 17:07:18 -03:00
test_aliased_buffer.cc
test_base64.cc
test_base_object_ptr.cc src: add BaseObjectPtr nullptr operations 2025-05-02 17:06:16 -03:00
test_cppgc.cc src,test: unregister the isolate after disposal and before freeing 2025-05-02 17:07:18 -03:00
test_crypto_clienthello.cc
test_dataqueue.cc
test_environment.cc src,test: unregister the isolate after disposal and before freeing 2025-05-02 17:07:18 -03:00
test_inspector_socket.cc
test_inspector_socket_server.cc
test_json_utils.cc
test_linked_binding.cc
test_node_api.cc
test_node_crypto.cc
test_node_crypto_env.cc src: update ECDASSigPointer implementation in ncrypto 2025-01-14 23:54:39 +00:00
test_node_postmortem_metadata.cc
test_node_task_runner.cc
test_path.cc path,win: fix bug in resolve and normalize 2024-11-05 23:21:54 +00:00
test_per_process.cc
test_platform.cc src,test: unregister the isolate after disposal and before freeing 2025-05-02 17:07:18 -03:00
test_quic_cid.cc
test_quic_error.cc
test_quic_tokens.cc
test_report.cc
test_sockaddr.cc src: use spaceship operator in SocketAddress 2024-12-03 07:15:14 -08:00
test_traced_value.cc
test_util.cc test: update test_util.cc for coverage 2024-10-14 06:41:27 +00:00