Please sign in to comment.
streams: fix regression in `unpipe()`
Since 2e568d9 there is a bug where unpiping a stream from a readable stream that has `_readableState.pipesCount > 1` will cause it to remove the first stream in the `_.readableState.pipes` array no matter where in the list the `dest` stream was. This patch corrects that problem. Ref: #9553 PR-URL: #9171 Fixes: #9170 Reviewed-By: Evan Lucas <email@example.com> Reviewed-By: Colin Ihrig <firstname.lastname@example.org> Reviewed-By: Luigi Pinca <email@example.com> Reviewed-By: James M Snell <firstname.lastname@example.org> Reviewed-By: Matteo Collina <email@example.com> Reviewed-By: Myles Borins <firstname.lastname@example.org>
- Loading branch information...