This commit is contained in:
2015-10-13 22:03:42 +02:00
parent 23eda18369
commit 65444382be
3 changed files with 2 additions and 1 deletions
@@ -114,7 +114,6 @@ namespace ErgometerApplication
{ {
NetHelper.SendNetCommand(Doctor, new NetCommand(NetCommand.CommandType.LOGOUT, Session)); NetHelper.SendNetCommand(Doctor, new NetCommand(NetCommand.CommandType.LOGOUT, Session));
Loggedin = false; Loggedin = false;
Doctor.Close();
running = false; running = false;
} }
} }
@@ -141,6 +140,8 @@ namespace ErgometerApplication
ParseCommand(command); ParseCommand(command);
} }
} }
Doctor.Close();
} }
private static void ParseCommand(NetCommand command) private static void ParseCommand(NetCommand command)