Permalink
Browse files

Need to remove listeners on destroy.

  • Loading branch information...
1 parent dd0854e commit 442337b0f07c6ff29731f060837bee975d1e9077 @Gozala committed May 13, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/stream.js
View
@@ -250,6 +250,7 @@ const OutputStream = Stream.extend({
try {
this.end(callback);
delete _(this).output;
+ this._events = null;
} catch (error) {
this.emit("error", error);
}

0 comments on commit 442337b

Please sign in to comment.