1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:47:24 +08:00

Make DiscordRichPresenceClient dispose client on disposal

This commit is contained in:
Lucas A 2019-05-14 19:37:43 +02:00
parent ee2bbf950f
commit d4013ae0d8

View File

@ -112,5 +112,11 @@ namespace osu.Desktop
LargeImageText = user.Value.Username LargeImageText = user.Value.Username
} }
}; };
protected override void Dispose(bool isDisposing)
{
client.Dispose();
base.Dispose(isDisposing);
}
} }
} }