Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Collina <hello@matteocollina.com>2017-05-06 15:20:52 +0300
committerJames M Snell <jasnell@gmail.com>2017-05-28 17:00:40 +0300
commitb6e1d22fa6cf9adbd0e84e7986be02ef40f3fad2 (patch)
tree8499774149ff43f42034872db90f3ce9d8638754 /node.gyp
parentf2e3a670af1e4f3dd4a54dbc76960faf36508e5a (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.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index c188072d0a2..c34f40de41f 100644
--- a/node.gyp
+++ b/node.gyp
@@ -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',