Skip to content

Commit

Permalink
Fix WebrtcProvider.disconnect method
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaldkhein committed Aug 30, 2020
1 parent baa90ac commit e058263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/y-webrtc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e058263

Please sign in to comment.