Unverified Commit 441ef4d7 authored by Anna Henningsen's avatar Anna Henningsen
Browse files

n-api: do not call into JS when that is not allowed

Check whether calling into JS is allowed before doing so.

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


Reviewed-By: default avatarGus Caplan <me@gus.host>
Reviewed-By: default avatarMichael Dawson <michael_dawson@ca.ibm.com>
parent 783c65eb
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