1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00
osu-lazer/osu.Game/Online
Bartłomiej Dach eb53e32792 Use task completion source for room join flow
On Android, users were unable to join or create multiplayer rooms. The
root cause of that was that the both the wait and set of the
`ManualResetEvent` in `getRoomUsers` occurred on the same thread, which
created a chicken-and-egg situation - the set could not proceed until
the wait had actually completed.

Resolve by substituting the `ManualResetEvent` for a
`TaskCompletionSource` to achieve a promise-style task, which the
previous code was a crude approximation of anyway.

Closes #11385.
2021-01-17 14:40:22 +01:00
..
API Add online beatmap "explicit content" property 2021-01-13 12:13:14 +03:00
Chat Add website root URL and update most links to use it 2020-12-24 18:11:42 +09:00
Leaderboards Rename {Drawable -> Clickable}Avatar 2020-12-26 14:35:11 +01:00
Multiplayer Use task completion source for room join flow 2021-01-17 14:40:22 +01:00
Placeholders Create ClickablePlaceholder and make of use it where applicable. 2020-04-23 14:01:47 +02:00
Rooms Fix stupid mistake 2021-01-13 22:35:21 +03:00
Spectator Merge pull request #11271 from peppy/dev-server 2020-12-24 23:01:19 +09:00
DevelopmentEndpointConfiguration.cs Add website root URL and update most links to use it 2020-12-24 18:11:42 +09:00
DownloadState.cs Rename download state Downloaded to Importing 2021-01-13 18:04:53 +03:00
DownloadTrackingComposite.cs Rename download state Downloaded to Importing 2021-01-13 18:04:53 +03:00
EndpointConfiguration.cs Add website root URL and update most links to use it 2020-12-24 18:11:42 +09:00
OnlineViewContainer.cs Fix cases of multiple bdl methods 2020-10-22 14:30:49 +09:00
PollingComponent.cs Make TimeBetweenPolls into a bindable 2020-12-20 18:34:54 +09:00
ProductionEndpointConfiguration.cs Add website root URL and update most links to use it 2020-12-24 18:11:42 +09:00