mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 13:03:21 +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
|
try
|
||||||
{
|
{
|
||||||
return testStorage.GetStream(realmFactory.Filename)?.Length ?? 0;
|
using (var stream = testStorage.GetStream(realmFactory.Filename))
|
||||||
|
return stream?.Length ?? 0;
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user