Fix lint
This commit is contained in:
parent
173f7a5061
commit
7fa999a1bd
@ -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…
Reference in New Issue
Block a user