We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de9cf75 commit c4402e9Copy full SHA for c4402e9
osu.Game/Screens/Select/BeatmapLeaderboardWedge.cs
@@ -256,7 +256,9 @@ public void RefetchScores()
256
{
257
// only bind this after the first fetch to avoid reading stale scores.
258
fetchedScores.BindTo(leaderboardManager.Scores);
259
- fetchedScores.BindValueChanged(_ => updateScores(), true);
+
260
+ // Schedule is important here to avoid handling changes after this drawable is disposed.
261
+ fetchedScores.BindValueChanged(_ => Schedule(updateScores), true);
262
initialFetchComplete = true;
263
}
264
}, initialFetchComplete && fetchScope != BeatmapLeaderboardScope.Local ? 300 : 0);
0 commit comments