diff options
author | Matteo Collina <hello@matteocollina.com> | 2017-05-06 15:20:52 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-05-28 17:00:40 +0300 |
commit | b6e1d22fa6cf9adbd0e84e7986be02ef40f3fad2 (patch) | |
tree | 8499774149ff43f42034872db90f3ce9d8638754 /node.gyp | |
parent | f2e3a670af1e4f3dd4a54dbc76960faf36508e5a (diff) |
stream: add destroy and _destroy methods.
Adds destroy() and _destroy() methods to Readable, Writable, Duplex
and Transform. It also standardizes the behavior and the implementation
of destroy(), which has been inconsistent in userland and core.
This PR also updates all the subsystems of core to use the new
destroy().
PR-URL: https://github.com/nodejs/node/pull/12925
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -106,6 +106,7 @@ 'lib/internal/streams/lazy_transform.js', 'lib/internal/streams/BufferList.js', 'lib/internal/streams/legacy.js', + 'lib/internal/streams/destroy.js', 'deps/v8/tools/splaytree.js', 'deps/v8/tools/codemap.js', 'deps/v8/tools/consarray.js', |