mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:13:22 +08:00
Fix potential multiplayer crash with async disposal
This commit is contained in:
parent
f82687a2c6
commit
45d537ef72
@ -175,7 +175,10 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
base.StartGameplay();
|
base.StartGameplay();
|
||||||
});
|
});
|
||||||
|
|
||||||
private void onResultsReady() => resultsReady.SetResult(true);
|
private void onResultsReady() => Scheduler.Add(() =>
|
||||||
|
{
|
||||||
|
resultsReady.SetResult(true);
|
||||||
|
});
|
||||||
|
|
||||||
protected override async Task PrepareScoreForResultsAsync(Score score)
|
protected override async Task PrepareScoreForResultsAsync(Score score)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user