Fix WebrtcProvider.disconnect method

This commit is contained in:
kevin 2020-08-30 15:23:43 +08:00
parent baa90ac495
commit e058263efd

View file

@ -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) {