fix(spa): clear state sync timer when returning to join
All checks were successful
CI / test-and-quality (push) Successful in 2m16s
CI / test-and-quality (pull_request) Successful in 2m17s

This commit is contained in:
2026-03-01 17:27:05 +00:00
parent fd1fbbf5e7
commit cb9ef8e627

View File

@@ -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 = [];