Ensure the main realm context is closed when the factory is disposed

This commit is contained in:
Dean Herbert
2021-01-15 14:26:06 +09:00
parent 693602513e
commit 3e366b1f15
2 changed files with 12 additions and 0 deletions

View File

@ -83,6 +83,7 @@ namespace osu.Game.Tests.Database
[TearDown]
public void TearDown()
{
realmContextFactory.Dispose();
storage.DeleteDirectory(string.Empty);
}