-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
The WebSocketClient thread never finishes #5
Comments
Make WebSocketClient#close actually end the underlying Thread and socket connection. Closed by e5e2194. |
jgautier
pushed a commit
to jgautier/Java-WebSocket
that referenced
this issue
Jun 16, 2011
…ket connection. Closes TooTallNate#5.
maakolk
pushed a commit
to maakolk/Java-WebSocket
that referenced
this issue
Mar 5, 2017
…ket connection. Closes TooTallNate#5.
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The thread that is started here line 96, WebSocketClient.java
public void connect() {
(new Thread(this)).start();
}
Never exits the run() function.
Calling close does disconnect the websocket and call the onClose function, however the thread just sits on the selector.select(); call.
The text was updated successfully, but these errors were encountered: