删除无用代码
This commit is contained in:
parent
1cc3dccc80
commit
ff6fd74791
@ -40,8 +40,6 @@ public class SpiderWebSocketContext extends SpiderContext {
|
||||
synchronized (session){
|
||||
session.getBasicRemote().sendText(message);
|
||||
}
|
||||
}else{
|
||||
System.out.println("close:" + session.getId() + ":"+message);
|
||||
}
|
||||
} catch (Throwable ignored) {
|
||||
}
|
||||
|
@ -50,7 +50,6 @@ public class WebSocketEditorServer {
|
||||
|
||||
@OnClose
|
||||
public void onClose(Session session) {
|
||||
System.out.println("close");
|
||||
context.setRunning(false);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user