mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:26:01 -04:00
Don't break if you press the hangup button before allowing media permission.
This commit is contained in:
parent
253c327252
commit
25e96f82db
2 changed files with 3 additions and 2 deletions
|
@ -104,7 +104,7 @@ angular.module('MatrixCall', [])
|
|||
console.trace("Ending call "+this.call_id);
|
||||
|
||||
this.stopAllMedia();
|
||||
this.peerConn.close();
|
||||
if (this.peerConn) this.peerConn.close();
|
||||
|
||||
this.hangupParty = 'local';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue