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:
parent
829044de59
commit
c816281494
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user