Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: let destroy rpc in the very end of login()
I have infinite "Encountered following error while trying to login: Error: Could not connect" errors while trying to use the extension. And I don't get "Reconnect to Discord" text in status bar icon + error message in the bottom right corner. As I figured there is a problem inside of rpc.destroy() or in it's usage. So I moved rpc.destroy() call+await to end of catch block to make important actions happen before struck. I don't know the library for very much but I think it may help. Up to you, iCrawl. P.S. Particullar error what gives me login attempt is simillar to this one discord/discord-rpc#337 . Trouble inside of rpc library? Should I try older version of your extension? Thank you
- Loading branch information