We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
close
1 parent 7b41fb5 commit 570935eCopy full SHA for 570935e
lib/negotiator.ts
@@ -113,7 +113,6 @@ export class Negotiator {
113
"iceConnectionState changed to disconnected on the connection with " +
114
peerId,
115
);
116
- this.connection.close();
117
break;
118
case "completed":
119
peerConnection.onicecandidate = util.noop;
lib/peer.ts
@@ -491,9 +491,6 @@ export class Peer extends EventEmitter<PeerEvents> {
491
492
if (index !== -1) {
493
connections.splice(index, 1);
494
- if (connections.length <= 0) {
495
- this._connections.delete(connection.peer);
496
- }
497
}
498
499
0 commit comments