mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
WebRTC disconnect on URL switching.
This commit is contained in:
parent
86d9e769f2
commit
6496e7e229
@ -184,6 +184,10 @@
|
||||
this.websocket.disconnect(new Error('url changed'))
|
||||
}
|
||||
|
||||
if (this.watching) {
|
||||
this.webrtc.disconnect()
|
||||
}
|
||||
|
||||
if (this.authenticated) {
|
||||
Vue.set(this.state.connection, 'authenticated', false)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user