Merge pull request #14 from rhaldkhein/master
Fix provider not destroying properly
This commit is contained in:
commit
d9f2b28b2a
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