Merge pull request #34 from PM2-IT21bWIN-ruiz-mach-krea/Fix_WindowCloseHandler
fixed Disconnecting when window is closed
This commit is contained in:
commit
af46e499ff
|
@ -49,7 +49,7 @@ public class ChatWindowController {
|
|||
}
|
||||
|
||||
private void applicationClose() {
|
||||
connectionHandler.setState(DISCONNECTED);
|
||||
disconnect();
|
||||
}
|
||||
|
||||
@FXML
|
||||
|
|
Loading…
Reference in New Issue