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

possible EventEmitter memory leak #51

Open
adamantivm opened this issue Oct 12, 2012 · 0 comments
Open

possible EventEmitter memory leak #51

adamantivm opened this issue Oct 12, 2012 · 0 comments
Assignees

Comments

@adamantivm
Copy link
Contributor

I am getting warnings from EventEmitter about possible memory leaks.

To reproduce, open the prototype, pick a robot, click on the outlet to navigate to it and then click Plug robot in.

It throws a "(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit." with a corresponding stack trace pointing back to Robot.plugIn where it does action.execute().

It may be that action.js is not unsuscribing events from the underlying library after the result is received?

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

No branches or pull requests

2 participants