Merge pull request #14 from rhaldkhein/master

Fix provider not destroying properly
This commit is contained in:
Kevin Jahns 2020-09-28 17:27:08 +02:00 committed by GitHub
commit d9f2b28b2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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