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
1 changed files with 1 additions and 0 deletions

View File

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