diff --git a/src/main/java/ChatClient.java b/src/main/java/ChatClient.java index ad481c8..d3d6300 100644 --- a/src/main/java/ChatClient.java +++ b/src/main/java/ChatClient.java @@ -75,8 +75,11 @@ public class ChatClient extends JFrame implements KeyListener { /* if (fromServerReader != null) { fromServerReader.close(); (warten auf ServerReader) - } */ - /* toServerWriter.close(); (warten auf ServerWriter) */ + } */ + /* if (toServerWriter != null) { + + toServerWriter.close(); (warten auf ServerWriter) + } */ } }