actually forgot to dispose peerCall here when replacing

This commit is contained in:
Bruno Windels 2023-02-07 15:00:56 +01:00
parent 02108c69dc
commit ddb5865ccb

View File

@ -362,6 +362,7 @@ export class Member {
syncLog.refDetached(log); syncLog.refDetached(log);
} }
if (shouldReplace) { if (shouldReplace) {
connection.peerCall.dispose();
connection.peerCall = undefined; connection.peerCall = undefined;
action = IncomingMessageAction.Handle; action = IncomingMessageAction.Handle;
} }