You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PR #96 broke the validation of napi_ref in JSReference.
Currently it is possible to use napi_ref even if it does not belong to the correct napi_env.
It will cause hard to debug crashes and memory corruptions.
We must fix it to ensure the safety of napi_ref pointers.
The text was updated successfully, but these errors were encountered:
The PR #96 broke the validation of
napi_ref
inJSReference
.Currently it is possible to use
napi_ref
even if it does not belong to the correctnapi_env
.It will cause hard to debug crashes and memory corruptions.
We must fix it to ensure the safety of
napi_ref
pointers.The text was updated successfully, but these errors were encountered: