diff --git a/src/y-webrtc.js b/src/y-webrtc.js index aafcab2..0522c71 100644 --- a/src/y-webrtc.js +++ b/src/y-webrtc.js @@ -218,9 +218,6 @@ export class WebrtcConn { checkIsSynced(room) this.peer.destroy() log('closed connection to ', logging.BOLD, remotePeerId) - }) - this.peer.on('close', () => { - log('Connection to remote peer ', logging.BOLD, remotePeerId, logging.UNBOLD, ' has been closed') announceSignalingInfo(room) }) this.peer.on('error', err => {