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:
parent
73a0373b4e
commit
6628b7c654
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user