[Bug]: False positive memory leak when running with --experimental-vm-modules and using --detectLeaks #14649
Closed as not planned
--experimental-vm-modules and using --detectLeaks #14649
Version
^29.7.0
Steps to reproduce
Expected behavior
No leak. Or at least consistent behaviour between CJS and ESM.
Actual behavior
Leaks in ESM, doesn't leak in CJS.
Additional context
Exact same test leaks with:
but doesn't leak with:
Environment