mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Block collection loading until realm migration has completed
This commit is contained in:
@ -50,9 +50,14 @@ namespace osu.Game.Collections
|
||||
this.storage = storage;
|
||||
}
|
||||
|
||||
[Resolved(canBeNull: true)]
|
||||
private DatabaseContextFactory efContextFactory { get; set; } = null!;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
efContextFactory?.WaitForMigrationCompletion();
|
||||
|
||||
Collections.CollectionChanged += collectionsChanged;
|
||||
|
||||
if (storage.Exists(database_backup_name))
|
||||
|
Reference in New Issue
Block a user