mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
revert(html): remove double raf hls destroy (#754)
This commit is contained in:
@@ -30,11 +30,7 @@ export class HlsVideo extends HlsCustomMedia {
|
||||
super.disconnectedCallback?.();
|
||||
|
||||
if (!this.hasAttribute('keep-alive')) {
|
||||
requestAnimationFrame(() => {
|
||||
requestAnimationFrame(() => {
|
||||
if (!this.isConnected) this.destroy();
|
||||
});
|
||||
});
|
||||
this.destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user