Schedule cross thread access in test case

This commit is contained in:
Dean Herbert 2018-12-03 18:43:39 +09:00
parent 14d9f1d8bb
commit bc9290bfcb
1 changed files with 5 additions and 2 deletions

View File

@ -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]