mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Move RealmRulesetStore
initial work off incorrect thread
This commit is contained in:
@ -102,7 +102,9 @@ namespace osu.Game.Stores
|
||||
|
||||
private void addMissingRulesets()
|
||||
{
|
||||
realmFactory.Context.Write(realm =>
|
||||
using (var context = realmFactory.CreateContext())
|
||||
{
|
||||
context.Write(realm =>
|
||||
{
|
||||
var rulesets = realm.All<RealmRuleset>();
|
||||
|
||||
@ -172,6 +174,7 @@ namespace osu.Game.Stores
|
||||
availableRulesets.AddRange(detachedRulesets);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private void loadFromAppDomain()
|
||||
{
|
||||
|
Reference in New Issue
Block a user