diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.ts | 1 |
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 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 { | |||
77 | ngOnDestroy() { | 77 | ngOnDestroy() { |
78 | console.log('Removing video from webtorrent.'); | 78 | console.log('Removing video from webtorrent.'); |
79 | clearInterval(this.torrentInfosInterval); | 79 | clearInterval(this.torrentInfosInterval); |
80 | clearTimeout(this.errorTimer); | ||
80 | this.webTorrentService.remove(this.video.magnetUri); | 81 | this.webTorrentService.remove(this.video.magnetUri); |
81 | 82 | ||
82 | this.sub.unsubscribe(); | 83 | this.sub.unsubscribe(); |