little fix

This commit is contained in:
Jonas Weinz 2019-03-24 18:21:39 +01:00
parent a790cb462a
commit 390dc5ae1f

View File

@ -446,6 +446,7 @@ class WebsocketConnection
{ {
this.openmatches[key].remove_match(); this.openmatches[key].remove_match();
} }
this.openmatches = {};
this.status_label.innerHTML = "logged out"; this.status_label.innerHTML = "logged out";
this.closed_by_user = true; this.closed_by_user = true;
this.socket.close(); this.socket.close();