diff --git a/src/y-webrtc.js b/src/y-webrtc.js index 88bb29b..1eec6da 100644 --- a/src/y-webrtc.js +++ b/src/y-webrtc.js @@ -609,7 +609,7 @@ export class WebrtcProvider extends Observable { conn.providers.delete(this) if (conn.providers.size === 0) { conn.destroy() - signalingConns.delete(this.roomName) + signalingConns.delete(conn.url) } }) if (this.room) {