fix: cancel debounce on player unmount
This commit is contained in:
committed by
Ivan Schurawel
parent
4c71de4815
commit
c0fc93dedc
@@ -822,6 +822,8 @@ function tryRemoveElement(elem) {
|
||||
}
|
||||
|
||||
destroy() {
|
||||
this.setSubtitleOffset.cancel();
|
||||
|
||||
destroyHlsPlayer(this);
|
||||
destroyFlvPlayer(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user