mirror of
https://github.com/ppy/osu.git
synced 2026-05-27 05:01:22 +08:00
Fix room null-check racing against async schedule
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user