From 8e2e92cd2c1c503fecf7ef76f4081d8cc4a7ed37 Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Fri, 29 Apr 2022 10:11:12 +0100 Subject: [PATCH] this timer should not fire after disposing --- src/matrix/calls/PeerCall.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/calls/PeerCall.ts b/src/matrix/calls/PeerCall.ts index e5e70a46..d69cafa6 100644 --- a/src/matrix/calls/PeerCall.ts +++ b/src/matrix/calls/PeerCall.ts @@ -1045,6 +1045,7 @@ export class PeerCall implements IDisposable { public dispose(): void { this.disposables.dispose(); + this.iceDisconnectedTimeout?.abort(); this.peerConnection.close(); }