1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 10:03:05 +08:00

remove all memory stream dispose

This commit is contained in:
cdwcgt 2023-08-04 20:02:22 +09:00
parent 7989286528
commit 09047538c7
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2
2 changed files with 0 additions and 5 deletions

View File

@ -90,8 +90,6 @@ namespace osu.Game.Scoring
Performer.PerformFromScreen(screen => screen.Push(new ReplayMissingBeatmapScreen(res, stream)));
};
req.Failure += _ => stream.Dispose();
api.Queue(req);
}

View File

@ -196,8 +196,6 @@ namespace osu.Game.Screens.Import
scoreManager.Import(progressNotification, new[] { importTask })
.ContinueWith(s =>
{
scoreStream.Dispose();
s.GetResultSafely<IEnumerable<Live<ScoreInfo>>>().FirstOrDefault()?.PerformRead(score =>
{
Guid scoreid = score.ID;
@ -219,7 +217,6 @@ namespace osu.Game.Screens.Import
base.Dispose(isDisposing);
realmSubscription?.Dispose();
scoreStream?.Dispose();
}
}
}