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

Can't reconnect issue #7

Closed
wants to merge 2 commits into from

Conversation

StanKocken
Copy link

Fix #5 and a NPE

We test if the socket is not null and connected but not if it's closed. This problem was saw before and the method "isConnected()" from WebSocketConnection add it.

This issue was report (by inspire580i) on the original library: palmerc#5
Occur when we want to disconnect by ourself when the library notify about a closing connection
@palmerc
Copy link
Owner

palmerc commented Nov 1, 2014

Added

@palmerc palmerc closed this Nov 1, 2014
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.

Cant reconnect (if first connect than disconnect is called than connect will not connect)
2 participants