Skip to content

Fix Promise#withResolvers allocation failure handling - #591

Closed
bptato wants to merge 1 commit into
bellard:masterfrom
bptato:promise-withresolvers-oom
Closed

bptato wants to merge 1 commit into
bellard:masterfrom
bptato:promise-withresolvers-oom

Conversation

@bptato

@bptato bptato commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

It was trying to reset defined values, with little success. (e.g. result_promise would get free'd twice if its DefinePropertyValue failed etc.)


NG has an alternative fix: quickjs-ng/quickjs@49131a6
but personally I found it too complex.

It was trying to reset defined values, with little success.
@bellard

bellard commented Nov 7, 2026

Copy link
Copy Markdown
Owner

fixed.

@bellard bellard closed this Nov 7, 2026
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