Files
node/lib
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-03-04 10:27:50 -08:00
2019-03-05 02:04:32 +01:00
2018-11-20 10:42:31 -08:00
2019-02-01 19:06:58 -08:00
2019-03-01 14:55:33 +01:00
2018-07-16 15:55:15 -07:00
2019-03-01 15:59:58 +01:00
…
2019-03-05 18:37:39 +01:00
2019-02-03 20:40:16 +01:00
2019-03-04 00:13:40 +01:00