mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix stream being held open causing windows CI failures
This commit is contained in:
@ -70,7 +70,8 @@ namespace osu.Game.Tests.Database
|
||||
{
|
||||
try
|
||||
{
|
||||
return testStorage.GetStream(realmFactory.Filename)?.Length ?? 0;
|
||||
using (var stream = testStorage.GetStream(realmFactory.Filename))
|
||||
return stream?.Length ?? 0;
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
Reference in New Issue
Block a user