mirror of https://github.com/ppy/osu
Fix a couple of silly inspections
This commit is contained in:
parent
d49639bec3
commit
f36a671eb4
|
@ -35,6 +35,7 @@ protected void RunTestWithRealm([InstantHandle] Action<RealmAccess, OsuStorage>
|
|||
Logger.Log($"Running test using realm file {testStorage.GetFullPath(realm.Filename)}");
|
||||
testAction(realm, testStorage);
|
||||
|
||||
// ReSharper disable once DisposeOnUsingVariable
|
||||
realm.Dispose();
|
||||
|
||||
Logger.Log($"Final database size: {getFileSize(testStorage, realm)}");
|
||||
|
@ -58,6 +59,7 @@ protected void RunTestWithRealmAsync(Func<RealmAccess, Storage, Task> testAction
|
|||
Logger.Log($"Running test using realm file {testStorage.GetFullPath(realm.Filename)}");
|
||||
await testAction(realm, testStorage);
|
||||
|
||||
// ReSharper disable once DisposeOnUsingVariable
|
||||
realm.Dispose();
|
||||
|
||||
Logger.Log($"Final database size: {getFileSize(testStorage, realm)}");
|
||||
|
|
Loading…
Reference in New Issue