Commit b153420f authored by Matteo Collina's avatar Matteo Collina
Browse files

stream: emit finish when using writev and cork

In Writable, 'finish' was not emitted when using writev() and
cork() in the event of an Error during the write. This commit
makes it consistent with the write() path, which emits 'finish'.

Fixes: https://github.com/nodejs/node/issues/11121
PR-URL: https://github.com/nodejs/node/pull/13195


Reviewed-By: default avatarJeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarCalvin Metcalf <calvin.metcalf@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent a10bdb51
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