Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
n-api: improve consistency of how we get context
Refs: nodejs/node-addon-api#764 Improve the consistency of how we get a context when needed. We generally used env->context() in N-API but there were are few exceptions that this PR addresses. Signed-off-by: Michael Dawson <[email protected]> PR-URL: #36068 Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
- Loading branch information