mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 04:02:57 +08:00
Add handling of realm disposed exceptions
This commit is contained in:
parent
94cd641fb4
commit
b3aa496ba7
@ -46,6 +46,14 @@ namespace osu.Game
|
||||
Logger.Log("Beginning background beatmap processing..");
|
||||
checkForOutdatedStarRatings();
|
||||
processBeatmapSetsWithMissingMetrics();
|
||||
}).ContinueWith(t =>
|
||||
{
|
||||
if (t.Exception?.InnerException is ObjectDisposedException)
|
||||
{
|
||||
Logger.Log("Finished background aborted during shutdown");
|
||||
return;
|
||||
}
|
||||
|
||||
Logger.Log("Finished background beatmap processing!");
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user