This commit is contained in:
vapormusic 2021-12-11 23:15:15 +07:00
parent 3d17365482
commit 34bd687209
2 changed files with 4 additions and 3 deletions

View file

@ -48,9 +48,10 @@
})
}
},
beforeDestroy() {
async beforeDestroy() {
if(this.hls) {
this.hls.destroy();
await this.hls.destroy();
this.hls = null
console.log('killed')
}
}