Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[api] Delete `this.chunks` on `destroy`

  • Loading branch information...
commit cb3b3bc8dd321a44eaad5e3c6933a7b5c4d2ff16 1 parent d57d3ea
@mmalecki mmalecki authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/buffered-stream.js
View
1  lib/buffered-stream.js
@@ -118,6 +118,7 @@ BufferedStream.prototype.end = function () {
BufferedStream.prototype.destroy = function () {
this.readable = false;
this.writable = false;
+ delete this.chunks;
};
BufferedStream.prototype.close = function () {
Please sign in to comment.
Something went wrong with that request. Please try again.