mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
actually forgot to dispose peerCall here when replacing
This commit is contained in:
parent
02108c69dc
commit
ddb5865ccb
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user