This commit is contained in:
Sem van der Hoeven
2020-10-22 13:55:46 +02:00
parent ef255e4828
commit d3bd1418d1
2 changed files with 1 additions and 2 deletions

View File

@@ -92,6 +92,7 @@ namespace Server.Models
}
catch (IOException e)
{
Debug.WriteLine("[SERVERCLIENT] Client disconnected! exception was " + e.Message);
tcpClient.Close();
ServerCommunication.INSTANCE.ServerClientDisconnect(this);
}