diff --git a/sdk/src/user.ts b/sdk/src/user.ts index bc90a6307..d2fd16d5a 100644 --- a/sdk/src/user.ts +++ b/sdk/src/user.ts @@ -204,6 +204,7 @@ export class User { } public async unsubscribe(): Promise { + this.eventEmitter.removeAllListeners(); await this.accountSubscriber.unsubscribe(); this.isSubscribed = false; }