mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 22:23:32 +08:00
Only null the realm write task if it actually completed
This commit is contained in:
parent
960b6528ca
commit
6bf436cd62
@ -129,8 +129,11 @@ namespace osu.Game.Screens.Play.PlayerSettings
|
||||
if (realmWriteTask == null)
|
||||
Current.Value = val;
|
||||
|
||||
// we can also mark any in-flight write that is managed locally as "seen" and start handling any incoming changes again.
|
||||
realmWriteTask = null;
|
||||
if (realmWriteTask?.IsCompleted == true)
|
||||
{
|
||||
// we can also mark any in-flight write that is managed locally as "seen" and start handling any incoming changes again.
|
||||
realmWriteTask = null;
|
||||
}
|
||||
});
|
||||
|
||||
Current.BindValueChanged(currentChanged);
|
||||
|
Loading…
Reference in New Issue
Block a user