Browse Source

small correction

remotes/origin/client-handler
Valentin Spiroski 11 months ago
parent
commit
22f2ff1169
  1. 1
      src/main/java/ClientHandler.java

1
src/main/java/ClientHandler.java

@ -41,6 +41,7 @@ public class ClientHandler implements Runnable {
e.printStackTrace(); e.printStackTrace();
} finally { } finally {
//chatServer.removeClient(this); //chatServer.removeClient(this);
throw new RuntimeException(e);
chatServer.broadcastMessage(name + " disconnected."); chatServer.broadcastMessage(name + " disconnected.");
if (fromClientReader != null) { if (fromClientReader != null) {

Loading…
Cancel
Save