Skip to content

Fix JS_NewObjectFrom - #1659

Open
bnoordhuis wants to merge 1 commit into
quickjs-ng:masterfrom
bnoordhuis:fix1640
Open

Fix JS_NewObjectFrom#1659
bnoordhuis wants to merge 1 commit into
quickjs-ng:masterfrom
bnoordhuis:fix1640

Conversation

@bnoordhuis

Copy link
Copy Markdown
Contributor

Replace it with a simple implementation for now. The idea of the old implementation was to compute the final JSShape + storage for the properties in one step but the reference counting gets tricky.

Fixes: #1640

Replace it with a simple implementation for now. The idea of the old
implementation was to compute the final JSShape + storage for the
properties in one step but the reference counting gets tricky.

Fixes: quickjs-ng#1640
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.

Abort when using JS_NewObjectFromStr after JS_NewObject

2 participants