mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2025-12-30 11:16:21 +01:00
Allow for disconnect/reconnect.
This commit is contained in:
parent
54bef63d67
commit
0271889b2e
3 changed files with 35 additions and 9 deletions
|
|
@ -17,6 +17,7 @@ static RpcConnection Instance;
|
|||
{
|
||||
c->Close();
|
||||
BaseConnection::Destroy(c->connection);
|
||||
c = nullptr;
|
||||
}
|
||||
|
||||
void RpcConnection::Open()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue