mirror of
https://github.com/ppy/osu.git
synced 2025-03-18 06:27:18 +08:00
Fix room null-check racing against async schedule
This commit is contained in:
parent
78ac092147
commit
498462dfd0
@ -190,8 +190,7 @@ namespace osu.Game.Online.Multiplayer
|
||||
return joinOrLeaveTaskChain.Add(async () =>
|
||||
{
|
||||
await scheduledReset.ConfigureAwait(false);
|
||||
if (Room != null)
|
||||
await LeaveRoomInternal().ConfigureAwait(false);
|
||||
await LeaveRoomInternal().ConfigureAwait(false);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user