From 7baef05f26a774696d6678e12ef82af96fae4610 Mon Sep 17 00:00:00 2001 From: Maroxy Date: Sun, 24 Oct 2021 19:56:41 +0200 Subject: [PATCH] Fix an issue --- src/ts/lib/DiscordRPC.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ts/lib/DiscordRPC.ts b/src/ts/lib/DiscordRPC.ts index c86c327..0eb18e9 100644 --- a/src/ts/lib/DiscordRPC.ts +++ b/src/ts/lib/DiscordRPC.ts @@ -38,6 +38,7 @@ export class DiscordRPC public static close (): void { + this.rpc.clearActivity(); this.rpc.destroy(); this.rpc = null as any;