moose-team / friends

:tv: P2P chat powered by the web.
http://moose-team.github.io/friends/
MIT License
3.17k stars 341 forks source link

event emitter leak #70

Closed mafintosh closed 9 years ago

mafintosh commented 9 years ago

starting friends produces the following warning for me currently,

[5949:0429/234914:INFO:CONSOLE(232)] "(node) warning: possible EventEmitter memory leak detected. %d %s listeners added. Use emitter.setMaxListeners() to increase limit.", source: events.js (232)
shama commented 9 years ago

Sounds like an event listener might be being registered in the render loop.

shama commented 9 years ago

Looks like this is the event that gets added a bunch: https://github.com/mafintosh/hyperlog/blob/master/index.js#L193

mafintosh commented 9 years ago

Fixed in hyperlog 3.4.1