1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Make BackgroundBeatmapProcessor task long-running

This commit is contained in:
Dan Balasescu 2023-06-29 17:16:33 +09:00
parent 829044de59
commit c816281494

View File

@ -55,14 +55,14 @@ namespace osu.Game
{
base.LoadComplete();
Task.Run(() =>
Task.Factory.StartNew(() =>
{
Logger.Log("Beginning background beatmap processing..");
checkForOutdatedStarRatings();
processBeatmapSetsWithMissingMetrics();
processScoresWithMissingStatistics();
convertLegacyTotalScoreToStandardised();
}).ContinueWith(t =>
}, TaskCreationOptions.LongRunning).ContinueWith(t =>
{
if (t.Exception?.InnerException is ObjectDisposedException)
{