From 71d3476b825571376b06498326d138685493fb62 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 26 Jul 2016 20:50:39 +0200 Subject: [PATCH] Client: clear timeout error timer for video watch --- client/src/app/videos/video-watch/video-watch.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/app/videos/video-watch/video-watch.component.ts b/client/src/app/videos/video-watch/video-watch.component.ts index 09255de5d..3aaed0487 100644 --- a/client/src/app/videos/video-watch/video-watch.component.ts +++ b/client/src/app/videos/video-watch/video-watch.component.ts @@ -77,6 +77,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { ngOnDestroy() { console.log('Removing video from webtorrent.'); clearInterval(this.torrentInfosInterval); + clearTimeout(this.errorTimer); this.webTorrentService.remove(this.video.magnetUri); this.sub.unsubscribe(); -- 2.25.1