fix: cancel debounce on player unmount

This commit is contained in:
Ivan Schurawel
2023-02-21 09:12:39 -05:00
committed by Ivan Schurawel
parent 4c71de4815
commit c0fc93dedc
+2
View File
@@ -822,6 +822,8 @@ function tryRemoveElement(elem) {
}
destroy() {
this.setSubtitleOffset.cancel();
destroyHlsPlayer(this);
destroyFlvPlayer(this);