mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Dispose of Stream
s when used
This commit is contained in:
@ -31,7 +31,7 @@ namespace osu.Game.Rulesets.Edit.Checks
|
||||
|
||||
foreach (var file in beatmapSet.Files)
|
||||
{
|
||||
Stream data = context.WorkingBeatmap.GetStream(file.FileInfo.StoragePath);
|
||||
using Stream data = context.WorkingBeatmap.GetStream(file.FileInfo.StoragePath);
|
||||
if (data == null)
|
||||
continue;
|
||||
|
||||
|
Reference in New Issue
Block a user