WebSocketDemo icon indicating copy to clipboard operation
WebSocketDemo copied to clipboard

如何断开websocket连接?

Open jjjjbababy opened this issue 4 years ago • 1 comments

如何断开websocket连接?

jjjjbababy avatar Jul 18 '20 06:07 jjjjbababy

disConnect及destroy后立即重启会产生这个错误 java.lang.Exception: WebSocketEngine not start! at com.zhangke.websocket.WebSocketEngine.connect(WebSocketEngine.java:49) at com.zhangke.websocket.WebSocketManager.reconnectOnce(WebSocketManager.java:292) at com.zhangke.websocket.DefaultReconnectManager$1.run(DefaultReconnectManager.java:97) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818)

magoo-lau avatar Jan 08 '21 10:01 magoo-lau