1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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

View file

@ -822,6 +822,8 @@ function tryRemoveElement(elem) {
}
destroy() {
this.setSubtitleOffset.cancel();
destroyHlsPlayer(this);
destroyFlvPlayer(this);