Commit 362e4a1a authored by Michael Dawson's avatar Michael Dawson
Browse files

n-api: ensure scope present for finalization

Refs: https://github.com/nodejs/node-addon-api/issues/722



Ensure a scope is on stack during finalization
as finalization functions can create JS Objects

Signed-off-by: default avatarMichael Dawson <michael_dawson@ca.ibm.com>

PR-URL: https://github.com/nodejs/node/pull/33508


Reviewed-By: default avatarGabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 502f53ff
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment