mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
When an AsyncFunction passed to Duplex.from() resolves without consuming its input, tear down the duplex so pipeline() can finish and destroy the upstream readable. Fixes: https://github.com/nodejs/node/issues/55077 Assisted-by: Cursor Signed-off-by: Aman Chadha <79802170+ac-mmi@users.noreply.github.com> PR-URL: https://github.com/nodejs/node/pull/65963 Reviewed-By: Xuguang Mei <meixuguang@gmail.com>