aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/video-watch/video-watch.component.ts1
1 files changed, 1 insertions, 0 deletions
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 ada20fc96..239e24c99 100644
--- a/client/src/app/videos/video-watch/video-watch.component.ts
+++ b/client/src/app/videos/video-watch/video-watch.component.ts
@@ -68,6 +68,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
68 ngOnDestroy() { 68 ngOnDestroy() {
69 console.log('Removing video from webtorrent.'); 69 console.log('Removing video from webtorrent.');
70 clearInterval(this.torrentInfosInterval); 70 clearInterval(this.torrentInfosInterval);
71 clearTimeout(this.errorTimer);
71 this.webTorrentService.remove(this.video.magnetUri); 72 this.webTorrentService.remove(this.video.magnetUri);
72 73
73 this.sub.unsubscribe(); 74 this.sub.unsubscribe();