Skip to content

async_wrap: fix memory leak in AsyncResource

Rodrigo Muino Tomonari requested to merge github/fork/mhdawson/async-leak into master

Reset the persistent that keeps the resource Object alive when the AsyncResource is being destroyed.

Fixes: https://github.com/nodejs/node-addon-api/issues/237

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading