mirror of https://github.com/ppy/osu
Schedule cross thread access in test case
This commit is contained in:
parent
14d9f1d8bb
commit
bc9290bfcb
|
@ -97,9 +97,12 @@ private void load()
|
||||||
|
|
||||||
[SetUp]
|
[SetUp]
|
||||||
public virtual void SetUp()
|
public virtual void SetUp()
|
||||||
|
{
|
||||||
|
Schedule(() =>
|
||||||
{
|
{
|
||||||
manager?.Delete(manager.GetAllUsableBeatmapSets());
|
manager?.Delete(manager.GetAllUsableBeatmapSets());
|
||||||
Child = songSelect = new TestSongSelect();
|
Child = songSelect = new TestSongSelect();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
|
Loading…
Reference in New Issue