diff options
author | Robert Nagy <ronagy@icloud.com> | 2020-03-25 02:43:18 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2020-03-26 21:48:18 +0300 |
commit | 0d0f151a46b36483af15e355afc81d1693c98fb0 (patch) | |
tree | 5ecac948b9db74c4dfc32a7b03d47dad1a0aba52 /doc/api | |
parent | b2e1a01516cbbf9dd1a90e8e0cba188db0b67062 (diff) |
stream: emit 'pause' on unpipe
unpipe should use pause() instead of mutating
state.flowing directly so that pausing side
effects such as emitting 'pause' are properly
performed.
Fixes: https://github.com/nodejs/node/issues/32470
PR-URL: https://github.com/nodejs/node/pull/32476
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'doc/api')
0 files changed, 0 insertions, 0 deletions