mirror of
https://github.com/ppy/osu.git
synced 2025-03-05 07:02:55 +08:00
Remove unnecessary extra task
Further testing shows continuations also run before the .Wait() returns.
This commit is contained in:
parent
eed8fa8d69
commit
80dfd11c90
@ -359,8 +359,6 @@ namespace osu.Game.Online.Multiplayer
|
||||
if (Room == null)
|
||||
return;
|
||||
|
||||
await Task.Run(async () =>
|
||||
{
|
||||
await PopulateUser(user).ConfigureAwait(false);
|
||||
|
||||
Scheduler.Add(() =>
|
||||
@ -377,7 +375,6 @@ namespace osu.Game.Online.Multiplayer
|
||||
UserJoined?.Invoke(user);
|
||||
RoomUpdated?.Invoke();
|
||||
});
|
||||
}).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
Task IMultiplayerClient.UserLeft(MultiplayerRoomUser user) =>
|
||||
|
Loading…
Reference in New Issue
Block a user