1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 04:59:54 +08:00

Make BackgroundBeatmapProcessor task long-running

This commit is contained in:
Dan Balasescu
2023-06-29 17:16:33 +09:00
Unverified
parent 829044de59
commit c816281494
+2 -2
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)
{