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

Removed self.peer.connected usage and switched to self._channel.readyState #2

Merged
merged 1 commit into from
Jul 1, 2018
Merged

Removed self.peer.connected usage and switched to self._channel.readyState #2

merged 1 commit into from
Jul 1, 2018

Conversation

nazar-pc
Copy link

@nazar-pc nazar-pc commented Jul 1, 2018

As noted in feross#334 self.peer.connected is not the best way of doing it, so I've managed to eliminate it alongside with some simplifications.
Tested in Node.js, Firefox Nightly and Chromium Nightly.

@t-mullen t-mullen merged commit 71c9669 into t-mullen:dc Jul 1, 2018
@nazar-pc nazar-pc deleted the dc-proper-open-handling branch July 1, 2018 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants