diff options
Diffstat (limited to 'lib/_stream_duplex.js')
-rw-r--r-- | lib/_stream_duplex.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/_stream_duplex.js b/lib/_stream_duplex.js index 59ce832927..1ccb931260 100644 --- a/lib/_stream_duplex.js +++ b/lib/_stream_duplex.js @@ -135,10 +135,3 @@ Object.defineProperty(Duplex.prototype, 'destroyed', { this._writableState.destroyed = value; } }); - -Duplex.prototype._destroy = function(err, cb) { - this.push(null); - this.end(); - - process.nextTick(cb, err); -}; |