We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 569884f commit d00a606Copy full SHA for d00a606
1 file changed
src/main/java/org/java_websocket/server/WebSocketServer.java
@@ -1089,9 +1089,6 @@ public void run() {
1089
} catch (InterruptedException e) {
1090
Thread.currentThread().interrupt();
1091
} catch (VirtualMachineError | ThreadDeath | LinkageError e) {
1092
- if (ws != null) {
1093
- ws.close();
1094
- }
1095
log.error("Got fatal error in worker thread {}", getName());
1096
Exception exception = new Exception(e);
1097
handleFatal(ws, exception);
0 commit comments