Update remaining cases of clashes with realm.Write and realm.RegisterForNotifications

This commit is contained in:
Dean Herbert
2022-01-25 13:09:47 +09:00
parent e23b10e6a5
commit d7342880f5
15 changed files with 39 additions and 39 deletions

View File

@ -55,7 +55,7 @@ namespace osu.Game.Input.Bindings
protected override void LoadComplete()
{
realmSubscription = realm.RegisterForNotifications(realm => queryRealmKeyBindings(), (sender, changes, error) =>
realmSubscription = realm.RegisterForNotifications(r => queryRealmKeyBindings(), (sender, changes, error) =>
{
// The first fire of this is a bit redundant as this is being called in base.LoadComplete,
// but this is safest in case the subscription is restored after a context recycle.