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

fix eventemitter listener leak in case of multiple lookups #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Arkotek
Copy link

@Arkotek Arkotek commented May 15, 2016

This fix the eventemitter listener leak in case of multiple lookups via discovery-channel

@feross
Copy link
Collaborator

feross commented May 15, 2016

Will defer to @mafintosh on this.

@mafintosh
Copy link
Owner

this should be on and not once. are you calling lookup many times in parallel?

@mafintosh
Copy link
Owner

we should setMaxListeners(0) to avoid this warning. @Arkotek you wanna update your PR to do that instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants