From 6b4107b69218c5a6beb2e2a950f25d86e4c5b40b Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sun, 24 Oct 2021 19:49:54 +0200 Subject: [PATCH] remove clearActivity as it isn't needed --- src/ts/lib/DiscordRPC.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ts/lib/DiscordRPC.ts b/src/ts/lib/DiscordRPC.ts index 0eb18e9..c86c327 100644 --- a/src/ts/lib/DiscordRPC.ts +++ b/src/ts/lib/DiscordRPC.ts @@ -38,7 +38,6 @@ export class DiscordRPC public static close (): void { - this.rpc.clearActivity(); this.rpc.destroy(); this.rpc = null as any;