We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ui
1 parent 1e5c6ef commit d9a27b8Copy full SHA for d9a27b8
src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js
@@ -2717,6 +2717,16 @@ export default defineComponent({
2717
await player.destroy()
2718
player = null
2719
}
2720
+
2721
+ // shaka-player doesn't clear these itself, which prevents shaka.ui.Overlay from being garbage collected
2722
+ // Should really be fixed in shaka-player but it's easier just to do it ourselves
2723
+ if (container.value) {
2724
+ container.value.ui = null
2725
+ }
2726
2727
+ if (video.value) {
2728
+ video.value.ui = null
2729
2730
2731
2732
expose({
0 commit comments