Browse Source

Close writing messages to server

remotes/origin/feature/client/exchange-messages-between-client-server
Alena Bandarovich 11 months ago
parent
commit
57b1af0413
  1. 2
      src/main/java/ChatClient.java

2
src/main/java/ChatClient.java

@ -73,6 +73,8 @@ public class ChatClient extends JFrame implements KeyListener {
e.printStackTrace();
}
toServerWriter.close();
}
}

Loading…
Cancel
Save