Skip to content

Commit

Permalink
Fix #149
Browse files Browse the repository at this point in the history
  • Loading branch information
RangerMauve committed Jun 4, 2015
1 parent b10d535 commit 0845358
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/eventemitter2.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@
'leak detected. %d listeners added. ' +
'Use emitter.setMaxListeners() to increase limit.',
tree._listeners.length);
console.trace();
if(console.trace){
console.trace();
}
}
}
}
Expand Down Expand Up @@ -395,7 +397,9 @@
'leak detected. %d listeners added. ' +
'Use emitter.setMaxListeners() to increase limit.',
this._events[type].length);
console.trace();
if(console.trace){
console.trace();
}
}
}
}
Expand Down

0 comments on commit 0845358

Please sign in to comment.