mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +08:00
Schedule cross thread access in test case
This commit is contained in:
parent
14d9f1d8bb
commit
bc9290bfcb
@ -98,8 +98,11 @@ namespace osu.Game.Tests.Visual
|
|||||||
[SetUp]
|
[SetUp]
|
||||||
public virtual void SetUp()
|
public virtual void SetUp()
|
||||||
{
|
{
|
||||||
manager?.Delete(manager.GetAllUsableBeatmapSets());
|
Schedule(() =>
|
||||||
Child = songSelect = new TestSongSelect();
|
{
|
||||||
|
manager?.Delete(manager.GetAllUsableBeatmapSets());
|
||||||
|
Child = songSelect = new TestSongSelect();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Loading…
Reference in New Issue
Block a user