fixed Disconnecting when window is closed

#6
This commit is contained in:
schrom01 2022-04-14 19:13:21 +02:00
parent 800528cc37
commit 8c588ee75c
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class ChatWindowController {
}
private void applicationClose() {
connectionHandler.setState(DISCONNECTED);
disconnect();
}
@FXML