this timer should not fire after disposing

This commit is contained in:
Bruno Windels 2022-04-29 10:11:12 +01:00
parent e1974711f3
commit 8e2e92cd2c

View file

@ -1045,6 +1045,7 @@ export class PeerCall implements IDisposable {
public dispose(): void { public dispose(): void {
this.disposables.dispose(); this.disposables.dispose();
this.iceDisconnectedTimeout?.abort();
this.peerConnection.close(); this.peerConnection.close();
} }