Open justalemon opened 6 years ago
it's an issue directly with Discord. just reload it. (Ctrl+R)
It's because the activity is not reset when VScode is closing, I'm looking for an event to handle it.
With the disposable client, the Rich Presence is reset when Visual Studio Code is closed, but it's still displaying "Playing Visual Studio Code". To fix it, you need to add Visual Studio Code as a game.
Discord says that is recomendable to send a shudown signal when the app closes, so the RPC server removes the status.
@justalemon May you have some docs about sending a shutdown signal to discord, it could be helpfull
Yeah, it is calling the static void Destroy(BaseConnection*&);
function,
https://github.com/discordapp/discord-rpc/blob/master/src/discord-rpc.cpp#L312
https://github.com/discordapp/discord-rpc/blob/master/src/connection_win.cpp#L66
It cannot be done with the discord-rpc server.
I hope it is fixed now ^^
Hate to dig up such an old issue, but the problem is still there.
Even if you close VS Code, you still will see information about the file and folder open.