File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Open diff view settings
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Open diff view settings
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ napi_create_reference(napi_env env,
352352
353353// Deletes a reference. The referenced value is released, and may
354354// be GC'd unless there are other references to it.
355- NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference (napi_env env ,
355+ NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference (node_api_basic_env env ,
356356 napi_ref ref );
357357
358358// Increments the reference count, optionally returning the resulting count.
Original file line number Diff line number Diff line change @@ -2771,7 +2771,8 @@ napi_status NAPI_CDECL napi_create_reference(napi_env env,
27712771// there are other references to it.
27722772// For a napi_reference returned from `napi_wrap`, this must be called in the
27732773// finalizer.
2774- napi_status NAPI_CDECL napi_delete_reference (napi_env env, napi_ref ref) {
2774+ napi_status NAPI_CDECL napi_delete_reference (node_api_basic_env env,
2775+ napi_ref ref) {
27752776 // Omit NAPI_PREAMBLE and GET_RETURN_STATUS because V8 calls here cannot throw
27762777 // JS exceptions.
27772778 CHECK_ENV (env);
You can’t perform that action at this time.
0 commit comments