From e058263efd1470ab7fef6c440f89b0430f7619ef Mon Sep 17 00:00:00 2001 From: kevin Date: Sun, 30 Aug 2020 15:23:43 +0800 Subject: [PATCH] Fix WebrtcProvider.disconnect method --- src/y-webrtc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {