mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:13:21 +08:00
Fix disposing previous leaderboard too late
This commit is contained in:
parent
fc079ad8cf
commit
600da89f72
@ -4,6 +4,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NUnit.Framework;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Testing;
|
||||
using osu.Framework.Timing;
|
||||
using osu.Game.Online.API.Requests.Responses;
|
||||
@ -23,7 +24,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
{
|
||||
AddStep("reset", () =>
|
||||
{
|
||||
Clear();
|
||||
leaderboard?.RemoveAndDisposeImmediately();
|
||||
|
||||
clocks = new Dictionary<int, ManualClock>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user