Commit 8a3fa32a authored by Vadzim Zieńka's avatar Vadzim Zieńka Committed by Robert Nagy
Browse files

stream: close iterator in Readable.from

Call iterator.return() if not all of its values are consumed.

Fixes: https://github.com/nodejs/node/issues/32842

PR-URL: https://github.com/nodejs/node/pull/32844


Reviewed-By: default avatarRobert Nagy <ronagy@icloud.com>
Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
Reviewed-By: default avatarZeyu Yang <himself65@outlook.com>
parent fd10be4b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment