mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
this timer should not fire after disposing
This commit is contained in:
parent
e1974711f3
commit
8e2e92cd2c
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user