stream: callback should be called when pendingcb is 0 · nodejs/node@b3372a8 · GitHub
Skip to content

Commit b3372a8

Browse files
jakecastellitargos
authored andcommitted
stream: callback should be called when pendingcb is 0
Fixes: #46170 PR-URL: #53438 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 4b47f89 commit b3372a8

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

lib/internal/streams/end-of-stream.js

Lines changed: 2 additions & 1 deletion

test/parallel/test-stream-finished.js

Lines changed: 7 additions & 1 deletion

0 commit comments

Comments
 (0)