mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
Remove pending export operation if active score is changed
This commit is contained in:
parent
35ec55c1f6
commit
6d5b3617b3
@ -83,6 +83,10 @@ namespace osu.Game.Screens.Ranking
|
||||
|
||||
Score.BindValueChanged(score =>
|
||||
{
|
||||
// An export may be pending from the last score.
|
||||
// Reset this to meet user expectations (a new score which has just been switched to shouldn't export)
|
||||
State.ValueChanged -= exportWhenReady;
|
||||
|
||||
downloadTracker?.RemoveAndDisposeImmediately();
|
||||
|
||||
if (score.NewValue != null)
|
||||
|
Loading…
Reference in New Issue
Block a user