1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +08:00

Ensure existing items are expired and cleared in ChannelControlItem test setup

This commit is contained in:
Jai Sharma 2022-03-14 22:21:18 +00:00
parent 73a0373b4e
commit 6628b7c654

View File

@ -49,6 +49,11 @@ namespace osu.Game.Tests.Visual.Online
{
Schedule(() =>
{
foreach (var item in channelMap.Values)
item.Expire();
channelMap.Clear();
Child = new FillFlowContainer
{
Direction = FillDirection.Vertical,