Dispose `ScrollingTeam`s on removal

This commit is contained in:
Salman Ahmed 2022-09-03 15:17:46 +03:00
parent 778d767a12
commit b43995269a
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public void AddTeam(TournamentTeam team)
availableTeams.Add(team);
RemoveAll(c => c is ScrollingTeam, false);
RemoveAll(c => c is ScrollingTeam, true);
setScrollState(ScrollState.Idle);
}