Skip to content
Permalink
Browse files

[fix] setMaxListeners(0) in base ReadWriteStream for reactors since w…

…e pipe lots of reactors to other reactors and such
  • Loading branch information...
jcrugzz committed May 9, 2013
1 parent a5c0285 commit 2e204372bb4e332c8e1037297f4be49104135350
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/godot/common/read-write-stream.js
@@ -15,8 +15,13 @@ var stream = require('stream'),
var ReadWriteStream = module.exports = function ReadWriteStream() {
this.readable = true;
this.writable = true;

stream.Stream.call(this);

//
// Set max listeners to zero since we are piping shit like crazy
//
this.setMaxListeners(0);
};

//

0 comments on commit 2e20437

Please sign in to comment.
You can’t perform that action at this time.