Lobby no longer glitches out when a person disconnects and reconnects without restarting the program #story[1188]

This commit is contained in:
Fan-Wu Yang
2017-09-11 20:34:34 +12:00
parent 54a9140f31
commit 2cda5ea70d
3 changed files with 12 additions and 3 deletions
@@ -112,8 +112,8 @@ public class VisualiserRaceEvent {
* Terminates the server connection and race service.
*/
public void terminate() {
this.serverConnectionThread.interrupt();
this.visualiserRaceServiceThread.interrupt();
this.serverConnectionThread.interrupt();
serverConnection.terminate();
}
}