-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Hello, I'm getting the following warning when testing my app:
(node) warning: possible EventEmitter memory leak detected. 11 connection listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Server.addListener (events.js:239:17)
at Server._listen2 ([...]\node_modules\loopback\node_modules\continuation-local-storage\node_modules\async-listener\index.js:65:10)
at listen (net.js:1270:10)
at Server.listen (net.js:1366:5)
at Test.serverAddress ([...]\node_modules\supertest\lib\test.js:56:33)
at new Test ([...]\node_modules\supertest\lib\test.js:36:12)
at Object.obj.(anonymous function) [as post] ([...]\node_modules\supertest\index.js:25:14)
at test ([...]\test\models\userTest.js:264:10)
at wrappedPromise.propagateAslWrapper ([...]\node_modules\loopback\node_modules\continuation-local-storage\node_modules\async-listener\index.js:375:23)
at wrappedPromise.<anonymous> ([...]\node_modules\loopback\node_modules\continuation-local-storage\node_modules\async-listener\glue.js:188:31)
at wrappedPromise.proxyWrapper [as __asl_wrapper] ([...]\node_modules\loopback\node_modules\continuation-local-storage\node_modules\async-listener\index.js:382:29)
at [...]\node_modules\loopback\node_modules\continuation-local-storage\node_modules\async-listener\index.js:402:26
at process._tickDomainCallback (node.js:411:9)
at process.<anonymous> ([...]\node_modules\loopback\node_modules\continuation-local-storage\node_modules\async-listener\index.js:19:15)
Should the listener allocated on line 65 be deallocated in your library or this problem may come from the package that is using this library?
Metadata
Metadata
Assignees
Labels
No labels