mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix player destroyed incorrectly.
This commit is contained in:
parent
dee927c527
commit
3e0eea6ddb
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ export default {
|
||||||
},
|
},
|
||||||
beforeUnmount() {
|
beforeUnmount() {
|
||||||
if (this.player) {
|
if (this.player) {
|
||||||
document.querySelector("video").remove();
|
window.player.destroy();
|
||||||
window.player = undefined;
|
window.player = undefined;
|
||||||
window.ui = undefined;
|
window.ui = undefined;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue