Browse Source

Close reading messages from server

remotes/origin/feature/client/exchange-messages-between-client-server
Alena Bandarovich 11 months ago
parent
commit
848770d030
  1. 7
      src/main/java/ChatClient.java

7
src/main/java/ChatClient.java

@ -66,6 +66,13 @@ public class ChatClient extends JFrame implements KeyListener {
} catch (IOException e) {
e.printStackTrace();
}
try {
fromServerReader.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}

Loading…
Cancel
Save