Skip to content

Fix JS_NewObjectFrom - #1659

Merged
bnoordhuis merged 1 commit into
quickjs-ng:masterfrom
bnoordhuis:fix1640
Aug 11, 2026
Merged

Fix JS_NewObjectFrom#1659
bnoordhuis merged 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
@bnoordhuis
bnoordhuis merged commit 849220c into quickjs-ng:master Aug 11, 2026
128 checks passed
@bnoordhuis
bnoordhuis deleted the fix1640 branch August 11, 2026 19:03
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