fix
This commit is contained in:
parent
3d17365482
commit
34bd687209
2 changed files with 4 additions and 3 deletions
|
@ -48,9 +48,10 @@
|
|||
})
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
async beforeDestroy() {
|
||||
if(this.hls) {
|
||||
this.hls.destroy();
|
||||
await this.hls.destroy();
|
||||
this.hls = null
|
||||
console.log('killed')
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue