mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:02:55 +08:00
Merge pull request #1062 from peppy/fix-non-scheduled-callback
Fix a potential hard crash when exiting song select
This commit is contained in:
commit
32d207e516
@ -86,7 +86,7 @@ namespace osu.Game.Screens.Select
|
||||
requestedBeatmap.Metrics = res;
|
||||
Schedule(() => updateMetrics(res));
|
||||
};
|
||||
lookup.Failure += e => updateMetrics(null);
|
||||
lookup.Failure += e => Schedule(() => updateMetrics(null));
|
||||
|
||||
api.Queue(lookup);
|
||||
loading.Show();
|
||||
|
Loading…
Reference in New Issue
Block a user