Commit 507240ce authored by Vadzim Zieńka's avatar Vadzim Zieńka Committed by Ruben Bridgewater
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 b36eb756
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