Fix lint
This commit is contained in:
parent
173f7a5061
commit
7fa999a1bd
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ export class SimplePeer {
|
||||||
if(peerConnection.destroyed){
|
if(peerConnection.destroyed){
|
||||||
peerConnection.toClose = true;
|
peerConnection.toClose = true;
|
||||||
peerConnection.destroy();
|
peerConnection.destroy();
|
||||||
let peerConnexionDeleted = this.PeerConnectionArray.delete(user.userId);
|
const peerConnexionDeleted = this.PeerConnectionArray.delete(user.userId);
|
||||||
if(!peerConnexionDeleted){
|
if(!peerConnexionDeleted){
|
||||||
throw 'Error to delete peer connection';
|
throw 'Error to delete peer connection';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue