mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-10 02:08:21 +00:00
Fix player destroyed incorrectly.
This commit is contained in:
parent
dee927c527
commit
3e0eea6ddb
@ -105,7 +105,7 @@ export default {
|
||||
},
|
||||
beforeUnmount() {
|
||||
if (this.player) {
|
||||
document.querySelector("video").remove();
|
||||
window.player.destroy();
|
||||
window.player = undefined;
|
||||
window.ui = undefined;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user