Files
node/lib
Anna Henningsen 932c824c60 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-08-30 17:02:51 +02:00
..
2016-08-13 08:38:37 +01:00
2016-08-22 11:07:05 -07:00
2016-05-18 02:12:28 -04:00
2016-06-17 17:03:49 +02:00
2016-08-27 16:53:59 +05:30
2016-08-10 23:41:28 +02:00