清理定时任务

master
于肖磊 2026-02-13 17:38:14 +08:00
parent b9ddb67412
commit 3a69d1816e
1 changed files with 7 additions and 0 deletions

View File

@ -351,6 +351,13 @@
this.init(); this.init();
}, },
onHide() { onHide() {
//
if (this.video_switch_debounce_timer) {
clearTimeout(this.video_switch_debounce_timer);
}
if (this.video_cleanup_timer) {
clearTimeout(this.video_cleanup_timer);
}
// //
this.cleanup_all_videos(); this.cleanup_all_videos();
}, },