Fix WebrtcProvider.disconnect method
This commit is contained in:
parent
baa90ac495
commit
e058263efd
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ export class WebrtcProvider extends Observable {
|
||||||
conn.providers.delete(this)
|
conn.providers.delete(this)
|
||||||
if (conn.providers.size === 0) {
|
if (conn.providers.size === 0) {
|
||||||
conn.destroy()
|
conn.destroy()
|
||||||
signalingConns.delete(this.roomName)
|
signalingConns.delete(conn.url)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (this.room) {
|
if (this.room) {
|
||||||
|
|
Loading…
Reference in a new issue