1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:33:21 +08:00

Actually disconnect from metadata hub when requested to

Nothing in this override, on in the base implementation, would actually
attempt to disconnect.
This commit is contained in:
Bartłomiej Dach 2024-02-16 12:58:50 +01:00
parent 171270d99c
commit 9fa60b169e
No known key found for this signature in database

View File

@ -233,6 +233,8 @@ namespace osu.Game.Online.Metadata
{
await base.DisconnectRequested().ConfigureAwait(false);
await EndWatchingUserPresence().ConfigureAwait(false);
if (connector != null)
await connector.Disconnect().ConfigureAwait(false);
}
protected override void Dispose(bool isDisposing)