mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-10 03:21:29 +03:00
All setIntervals on the frontend are now properly destroyed
This commit is contained in:
@@ -33,7 +33,8 @@ export class TwitchChatComponent implements OnInit, AfterViewInit {
|
||||
this.getFullChat();
|
||||
}
|
||||
|
||||
ngAfterViewInit() {
|
||||
ngOnDestroy(): void {
|
||||
if (this.chat_check_interval_obj) { clearInterval(this.chat_check_interval_obj); }
|
||||
}
|
||||
|
||||
private isUserNearBottom(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user