fix(spa): clear state sync timer when returning to join
This commit is contained in:
@@ -269,6 +269,7 @@ export class PlayerShellComponent implements OnInit, OnDestroy {
|
|||||||
returnToJoin(): void {
|
returnToJoin(): void {
|
||||||
this.loadingTransition = null;
|
this.loadingTransition = null;
|
||||||
this.clearReconnectTimer();
|
this.clearReconnectTimer();
|
||||||
|
this.clearStateSyncTimer();
|
||||||
this.connectionState = typeof navigator !== 'undefined' && !navigator.onLine ? 'offline' : 'online';
|
this.connectionState = typeof navigator !== 'undefined' && !navigator.onLine ? 'offline' : 'online';
|
||||||
this.session = null;
|
this.session = null;
|
||||||
this.finalLeaderboard = [];
|
this.finalLeaderboard = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user