Fix background beatmap processor thread not correctly exiting

This commit is contained in:
Dean Herbert 2023-07-04 18:21:22 +09:00
parent 4de15f975e
commit 257a96ef60
1 changed files with 8 additions and 0 deletions

View File

@ -189,6 +189,10 @@ private void processScoresWithMissingStatistics()
Logger.Log($"Populated maximum statistics for score {id}");
}
catch (ObjectDisposedException)
{
throw;
}
catch (Exception e)
{
Logger.Log(@$"Failed to populate maximum statistics for {id}: {e}");
@ -237,6 +241,10 @@ private void convertLegacyTotalScoreToStandardised()
Logger.Log($"Converted total score for score {id}");
++processedCount;
}
catch (ObjectDisposedException)
{
throw;
}
catch (Exception e)
{
Logger.Log($"Failed to convert total score for {id}: {e}");