Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove connection event listeners when server stops #923

Merged
merged 1 commit into from
Jun 11, 2013
Merged

remove connection event listeners when server stops #923

merged 1 commit into from
Jun 11, 2013

Conversation

iamdoron
Copy link
Contributor

if you start and stop an hapi server for more than 10 times you'll get a warning that the number of event listeners has grown beyond the default limit.

I think we should just remove all listeners after closing the connection.

hueniverse pushed a commit that referenced this pull request Jun 11, 2013
remove connection event listeners when server stops
@hueniverse hueniverse merged commit 01bec39 into hapijs:master Jun 11, 2013
jmonster pushed a commit to jmonster/hapi that referenced this pull request Feb 10, 2014
remove connection event listeners when server stops
@lock lock bot locked as resolved and limited conversation to collaborators Jan 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug or defect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants