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

Stop removing all event listeners on close and disconnect #764

Merged
merged 1 commit into from Apr 25, 2016

Conversation

reconbot
Copy link
Member

Should address some of #702 and closes #638 and helps rwaldron/johnny-five#1037

@reconbot reconbot merged commit 555136f into master Apr 25, 2016
@reconbot reconbot deleted the stop-removing-listeners branch April 25, 2016 14:02
@reconbot reconbot mentioned this pull request Apr 25, 2016
11 tasks
@@ -410,9 +410,6 @@ SerialPort.prototype.disconnected = function (err) {
debug('Disconnect completed with an exception: ' + JSON.stringify(e));
}

// TODO THIS IS CRAZY TOWN

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😆

@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Calling close() removes all event listeners (including "error")
2 participants