From ddb5865ccb0defe5c80238e4565c3e6f45bdd9d6 Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Tue, 7 Feb 2023 15:00:56 +0100 Subject: [PATCH] actually forgot to dispose peerCall here when replacing --- src/matrix/calls/group/Member.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/calls/group/Member.ts b/src/matrix/calls/group/Member.ts index e0c9c6ca..d88a216f 100644 --- a/src/matrix/calls/group/Member.ts +++ b/src/matrix/calls/group/Member.ts @@ -362,6 +362,7 @@ export class Member { syncLog.refDetached(log); } if (shouldReplace) { + connection.peerCall.dispose(); connection.peerCall = undefined; action = IncomingMessageAction.Handle; }