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 92d44fd commit dc01a07Copy full SHA for dc01a07
src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js
@@ -2862,6 +2862,16 @@ export default defineComponent({
2862
await player.destroy()
2863
player = null
2864
}
2865
+
2866
+ // shaka-player doesn't clear these itself, which prevents shaka.ui.Overlay from being garbage collected
2867
+ // Should really be fixed in shaka-player but it's easier just to do it ourselves
2868
+ if (container.value) {
2869
+ container.value.ui = null
2870
+ }
2871
2872
+ if (video.value) {
2873
+ video.value.ui = null
2874
2875
2876
2877
expose({
0 commit comments