mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Fix stream being held open causing windows CI failures
This commit is contained in:
parent
6ec2223b5c
commit
537b29654e
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user