stream: fix multiple Writable.destroy() calls
Calling Writable.destroy() multiple times in the same tick could cause an assertion error. Fixes: https://github.com/nodejs/node/issues/38189 PR-URL: https://github.com/nodejs/node/pull/38221 Reviewed-By:Matteo Collina <matteo.collina@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Nitzan Uziely <linkgoron@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
parent
d3162da8
Please register or sign in to comment