aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-watch
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-07-26 20:50:39 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-07-27 21:21:57 +0200
commit71d3476b825571376b06498326d138685493fb62 (patch)
tree8e1da9580940affc664fd6b3bd3f8e797278c522 /client/src/app/videos/video-watch
parent724fed2931e20498159fd127656d538da678dabe (diff)
downloadPeerTube-71d3476b825571376b06498326d138685493fb62.tar.gz
PeerTube-71d3476b825571376b06498326d138685493fb62.tar.zst
PeerTube-71d3476b825571376b06498326d138685493fb62.zip
Client: clear timeout error timer for video watch
Diffstat (limited to 'client/src/app/videos/video-watch')
-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 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();