Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

warning on memory leak #285

Open
jbehr opened this issue Mar 13, 2016 · 1 comment
Open

warning on memory leak #285

jbehr opened this issue Mar 13, 2016 · 1 comment

Comments

@jbehr
Copy link

jbehr commented Mar 13, 2016

airsonos prints warning message from time to time but keeps working:


warning: possible EventEmitter memory leak detected. 11 clientDisconnected listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at NodeTunes.addListener (events.js:252:17)
at DeviceTunnel.handleClientConnected (/usr/local/lib/node_modules/airsonos/bin/tunnel.js:93:26)
at emitOne (events.js:90:13)
at NodeTunes.emit (events.js:182:7)
at announceParse (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/rtspmethods.js:141:25)
at announce (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/rtspmethods.js:81:7)
at RtspServer. (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/rtsp.js:60:7)
at emitTwo (events.js:100:13)
at ServerParser.emit (events.js:185:7)
at ServerParser._emitMessage (/usr/local/lib/node_modules/airsonos/node_modules/httplike/lib/server-parser.js:28:8)
at ServerParser.Parser._write (/usr/local/lib/node_modules/airsonos/node_modules/httplike/lib/parser.js:103:12)
at doWrite (_stream_writable.js:301:12)
at writeOrBuffer (_stream_writable.js:287:5)
at ServerParser.Writable.write (_stream_writable.js:215:11)
at Socket.ondata (_stream_readable.js:536:20)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)

@afischer
Copy link

Duplicate of #207

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants