-
-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Labels
bugSomething isn't workingSomething isn't working
Description
My program de-initializes the client if a certain function is started and then initializes it again if it knows that it's uninitialized and it needs it to be active but it doesn't re-initialize itself.
To Reproduce
Steps to reproduce the behavior:
- De-initialize client
- Wait a few seconds(until the presence is gone from the user's profile)
- Try to initialize client
- There aren't any errors, Rich Presence doesn't appear on user's profile.
Expected behavior
Client gets re-initialized after being de-initialized a few seconds prior due to a setting in the program being changed.
Desktop (please complete the following information):
- OS: Windows 10
- Framework: .Net 5
- Library Version: 1.0.175
Additional context
Add any other context about the problem here.
Logs
No errors, warning, info, nothing even with level set to info
Code
if (json.DRPMode == false && client.IsInitialized)
{
Trace.WriteLine("killed client");
client.ClearPresence();
client.Deinitialize();
}
else if (json.DRPMode == true && !client.IsInitialized)
client.Initialize();
I checked if it returns true or false and it managed to send a message in console when DRPMode was changed to true so it's not about the program not being able to read the DRPMode checkbox's state.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working