Linter fix
This commit is contained in:
parent
6516e621b0
commit
beb0d1ef0a
2 changed files with 4 additions and 4 deletions
|
@ -198,7 +198,7 @@ export class SimplePeer {
|
|||
|
||||
this.addMedia(user.userId);
|
||||
|
||||
for (let peerConnectionListener of this.peerConnectionListeners) {
|
||||
for (const peerConnectionListener of this.peerConnectionListeners) {
|
||||
peerConnectionListener.onConnect(user);
|
||||
}
|
||||
}
|
||||
|
@ -222,7 +222,7 @@ export class SimplePeer {
|
|||
peer.destroy();
|
||||
this.PeerConnectionArray.delete(userId)
|
||||
//console.log('Nb users in peerConnectionArray '+this.PeerConnectionArray.size);
|
||||
for (let peerConnectionListener of this.peerConnectionListeners) {
|
||||
for (const peerConnectionListener of this.peerConnectionListeners) {
|
||||
peerConnectionListener.onDisconnect(userId);
|
||||
}
|
||||
} catch (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue