Skip to content

Conversation

@bnoordhuis
Copy link
Contributor

Close the iterator when the underlying iterator object lacks a .throw method. Exceptions from the .return method take precedence over the missing method exception.

Close the iterator when the underlying iterator object lacks a .throw
method. Exceptions from the .return method take precedence over the
missing method exception.
@bnoordhuis bnoordhuis merged commit ee364eb into quickjs-ng:master May 26, 2025
127 checks passed
@bnoordhuis bnoordhuis deleted the async-iter-throw-return branch May 26, 2025 06:44
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