mirror of
https://github.com/ppy/osu.git
synced 2026-05-17 16:53:15 +08:00
eb53e32792
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.
eb53e32792
·
2021-01-17 14:40:22 +01:00
History