Skip to content

stream: don't destroy final readable stream in pipeline

If the last stream in a pipeline is still usable/readable don't destroy it to allow further composition.

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

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading