Investigate test/node-api/test_worker_terminate_finalization/test.js

  • Version: 12.x and higher
  • Platform: ALL
  • Subsystem: N-API

Refs: #35777

What steps will reproduce the bug?

Run test test/node-api/test_worker_terminate_finalization/test.js under ASAN/memory check

How often does it reproduce? Is there a required condition?

What is the expected behavior?

No memory leaks reported

What do you see instead?

Memory leaks reported

Additional information

We need to investigate the test to see if it is an issue in the test or in N-API itself.