mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:17:26 +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
|
LargeImageText = user.Value.Username
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
protected override void Dispose(bool isDisposing)
|
||||||
|
{
|
||||||
|
client.Dispose();
|
||||||
|
base.Dispose(isDisposing);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user