Merge branch 'master' into realm-move-data-migration-to-context-factory

This commit is contained in:
Dean Herbert
2021-11-24 12:38:44 +09:00
committed by GitHub
21 changed files with 272 additions and 79 deletions

View File

@ -349,7 +349,7 @@ namespace osu.Game.Database
}
private string? getRulesetShortNameFromLegacyID(long rulesetId) =>
efContextFactory?.Get().RulesetInfo.First(r => r.ID == rulesetId)?.ShortName;
efContextFactory?.Get().RulesetInfo.FirstOrDefault(r => r.ID == rulesetId)?.ShortName;
/// <summary>
/// Flush any active contexts and block any further writes.