mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Update all read queries to use direct realm subscriptions/queries
This commit is contained in:
@ -11,11 +11,11 @@ namespace osu.Game.Database
|
||||
{
|
||||
protected readonly Storage? Storage;
|
||||
|
||||
protected readonly IRealmFactory ContextFactory;
|
||||
protected readonly IRealmFactory RealmFactory;
|
||||
|
||||
protected RealmBackedStore(IRealmFactory contextFactory, Storage? storage = null)
|
||||
protected RealmBackedStore(IRealmFactory realmFactory, Storage? storage = null)
|
||||
{
|
||||
ContextFactory = contextFactory;
|
||||
RealmFactory = realmFactory;
|
||||
Storage = storage;
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ namespace osu.Game.Database
|
||||
|
||||
try
|
||||
{
|
||||
context = getContextForCurrentThread();
|
||||
context = createContext();
|
||||
|
||||
currentWriteTransaction ??= context.BeginWrite();
|
||||
}
|
||||
|
Reference in New Issue
Block a user