Skip to content

Conversation

@shial4
Copy link
Contributor

@shial4 shial4 commented Feb 20, 2024

While working with babylon we encountered issue when calling
env.drop_wrapped calls napi_remove_wrap which is implemented here for Javascriptcore

It should set result to the wrapped data pointer, but that implementation will always set it to null.

This change ensures that the result pointer is correctly set to the wrapped data pointer before clearing it.

// This change ensures that the result pointer is correctly set to the wrapped data pointer before clearing it.
@bghgary bghgary enabled auto-merge (squash) February 20, 2024 17:06
@bghgary bghgary merged commit c78b309 into BabylonJS:main Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants