Browse files

Removing event-emitter leak warnings by setting max listeners to zero

(closes #2)
  • Loading branch information...
1 parent a00d020 commit d388f506d9b2740f072729a89acf45c4b714d2b3 @arboleya arboleya committed Jul 29, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/zip-writer.js
View
1 lib/zip-writer.js
@@ -6,6 +6,7 @@ var fs = require('fs');
function Sync(zipStream) {
this.stream = zipStream;
+ this.stream.setMaxListeners(0);
this.queue = [];
this.idle = true;
this.finalized = false;

0 comments on commit d388f50

Please sign in to comment.