Fix an issue

This commit is contained in:
Maroxy 2021-10-24 19:56:41 +02:00
parent 6b4107b692
commit 7baef05f26

View file

@ -38,6 +38,7 @@ export class DiscordRPC
public static close (): void
{
this.rpc.clearActivity();
this.rpc.destroy();
this.rpc = null as any;