Files
node/doc/api
Anna Henningsen 605db31fe7 events: make memory leak warning more accessible
This makes the famous `EventEmitter memory leak` warnings occurring
when the listener count for a given event exceeds a specified number
more programatically accessible, by giving them properties referring
to the event emitter instance and the event itself.

This can be useful for debugging the origins of such a warning when
the stack itself doesn’t reveal enough information about the event
emitter instance itself, e.g. when manual inspection of the
already-registered listeners is expected to be useful.

PR-URL: https://github.com/nodejs/node/pull/8298
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <Fishrock123@rocketmail.com>
2016-09-09 11:06:12 -04:00
..
2016-04-26 12:16:28 -07:00
2016-08-15 09:58:30 -04:00
2016-08-10 13:04:59 -04:00
2016-09-09 11:06:05 -04:00
2016-04-26 12:16:28 -07:00
2016-08-10 12:49:09 -04:00
2016-09-09 11:06:04 -04:00