Fix TestCasePlaySongSelect not working on consecutive executions.

This commit is contained in:
Dean Herbert 2017-01-24 17:02:11 +09:00
parent 162e183b36
commit 4aa2834082

View File

@ -41,7 +41,11 @@ namespace osu.Desktop.VisualTests.Tests
protected override void Dispose(bool isDisposing) protected override void Dispose(bool isDisposing)
{ {
if (oldDb != null) if (oldDb != null)
{
Dependencies.Cache(oldDb, true); Dependencies.Cache(oldDb, true);
db = null;
}
base.Dispose(isDisposing); base.Dispose(isDisposing);
} }