fix?: don't reset the presence (possible race condition)
This commit is contained in:
parent
97d6422474
commit
a52e607296
1 changed files with 0 additions and 2 deletions
|
@ -141,8 +141,6 @@ function destroyRPC(): void {
|
|||
if (activityTimer) clearInterval(activityTimer);
|
||||
// Null the activity timer.
|
||||
activityTimer = null;
|
||||
// Reset the activity.
|
||||
rpc.setActivity({});
|
||||
// Dispose of the event handlers.
|
||||
eventHandlers.forEach(event => event.dispose());
|
||||
// If there's an RPC Client initalized, destroy it.
|
||||
|
|
Loading…
Reference in a new issue