Client: clear timeout error timer for video watch
This commit is contained in:
parent
724fed2931
commit
71d3476b82
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue