Lachee / discord-rpc-csharp

C# custom implementation for Discord Rich Presence. Not deprecated and still available!
MIT License
561 stars 93 forks source link

Connection not staying open and constantly spamming socket opens despite being initialized once. #206

Closed Cynosphere closed 1 year ago

Cynosphere commented 1 year ago

Context: Moving from old official library to this library because I want buttons. MusicBee Rich Presence plugin.

image

public PluginInfo Initialise(IntPtr apiInterfacePtr)
{
  // ...

  if (!rpcClient.IsInitialized)
  {
    rpcClient.Initialize();
  }

  // ...
}
Cynosphere commented 1 year ago

It was the timestamps the entire time...