mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
Fix TestCasePlaySongSelect not working on consecutive executions.
This commit is contained in:
parent
162e183b36
commit
4aa2834082
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user