mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Add handling of realm disposed exceptions
This commit is contained in:
@ -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!");
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user