This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
EventEmitter.listeners() should not auto-create this._events #3803
Labels
Comments
What should |
An empty array. It does a |
isaacs
added a commit
to isaacs/node-v0.x-archive
that referenced
this issue
Aug 4, 2012
Agreed. First one to review #3825 gets a virtual high five. |
Fixed in 50c7d80. |
Hi, it would be fantastic if you include this in the stable branch too. It is quite a memory leak with my kind of usage. |
@ivanstoyanov Not gonna happen, this is a breaking API change. |
tricknotes
added a commit
to tricknotes/node
that referenced
this issue
Dec 10, 2012
This object initialization has been unnecessary from 12cf730. rel nodejs#3803
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This test should pass but doesn't because
.listeners()
has side effects.The text was updated successfully, but these errors were encountered: