mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:33:20 +08:00
Make DiscordRichPresenceClient dispose client on disposal
This commit is contained in:
parent
ee2bbf950f
commit
d4013ae0d8
@ -112,5 +112,11 @@ namespace osu.Desktop
|
||||
LargeImageText = user.Value.Username
|
||||
}
|
||||
};
|
||||
|
||||
protected override void Dispose(bool isDisposing)
|
||||
{
|
||||
client.Dispose();
|
||||
base.Dispose(isDisposing);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user