You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/java_websocket/client/WebSocketClient.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -319,7 +319,7 @@ public boolean reconnectBlocking() throws InterruptedException{
319
319
privatevoidreset(){
320
320
Threadcurrent = Thread.currentThread();
321
321
if (current == writeThread || current == connectReadThread){
322
-
thrownewIllegalStateException("You cannot initialize a reconnect out of the websocket thread. Use reconnect in another thread to insure a successful cleanup.");
322
+
thrownewIllegalStateException("You cannot initialize a reconnect out of the websocket thread. Use reconnect in another thread to ensure a successful cleanup.");
0 commit comments