-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discord_Shutdown does not unset Discord user's Playing status #61
Comments
Right now the |
But the process doesn't exist in my scenario. For example, this was taken 5 minutes after starting |
Looking at the Send-Presence example 'Discord_Shutdown' is called twice when you 'quit' using the q input option it causes this issue, I actually did this in my own code too accidentally and had the same issue where the rich presence status was stuck displayed even though the process had closed after the 'Discord_Shutdown' function was called (all be it was twice). |
Nah, |
Fixed on canary and ptb, should get to stable soon. |
Good that this is fixed. I thought I was going crazy. |
Should be fixed in stable now. |
For both the
send-presence
sample and our own integration, a call toDiscord_Shutdown
does not call thedisconnect
handler, and thePlaying <game>
status in Discord stays there for the user even after the process has been shut down. CallingDiscord_UpdateConnection()
andDiscord_RunCallbacks()
afterDiscord_Shutdown()
(to really cover all our bases) didn't work either. The only fix for this is restarting Discord client-side; the RP status disappears then. Time doesn't seem to play a role either, as the RP just stays there.The
send-presence
sample that was tested was taken from the2.0.1
release of this repo. For our own integration,discord-rpc
was compiled as a 32-bit DLL from themaster
source as of commit5d5bc82
on a Win 7 64-bit machine:The text was updated successfully, but these errors were encountered: