Files
node/test/parallel
Luigi Pinca 49f1bb9b93 stream: ensure writable.destroy() emits error once
Prevent the `'error'` event from being emitted multiple times if
`writable.destroy()` is called with an error before the `_destroy()`
callback is called.

Emit the first error, discard all others.

PR-URL: https://github.com/nodejs/node/pull/26057
Fixes: https://github.com/nodejs/node/issues/26015
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-03-05 23:52:36 +01:00
..
2019-01-10 03:26:51 +01:00
2018-12-10 17:07:18 +01:00
2019-01-14 18:36:32 +01:00
2018-12-10 17:07:18 +01:00
2019-02-28 05:20:51 +01:00
2019-01-10 09:00:22 -05:00
2019-01-08 12:57:24 -06:00
2019-01-05 21:36:47 +01:00