Skip to content

Walk the prototype chain to find private data for NAPI/JSC #1161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 4, 2022

Conversation

bghgary
Copy link
Contributor

@bghgary bghgary commented Nov 3, 2022

This also separates external, reference, and wrapper objects so that the prototype chain is not ambiguous.

This fixes an issue where the app would assert and crash if the code persists a constructor.

@bghgary bghgary requested a review from CoPrez November 3, 2022 21:42
@bghgary bghgary merged commit 9eb642f into BabylonJS:master Nov 4, 2022
@bghgary bghgary deleted the napi-jsc-fix branch November 4, 2022 19:27
CedricGuillemet added a commit to BabylonJS/JsRuntimeHost that referenced this pull request Jun 26, 2023
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