mirror of https://github.com/Chocobozzz/PeerTube
I love semicolons (again).
parent
8cfecb2ad7
commit
e9a2578e95
|
@ -64,7 +64,7 @@ export class VideosWatchComponent implements OnInit, CanDeactivate {
|
||||||
|
|
||||||
routerCanDeactivate(next: ComponentInstruction, prev: ComponentInstruction) : any {
|
routerCanDeactivate(next: ComponentInstruction, prev: ComponentInstruction) : any {
|
||||||
console.log('Removing video from webtorrent.');
|
console.log('Removing video from webtorrent.');
|
||||||
clearInterval(this._interval)
|
clearInterval(this._interval);
|
||||||
this.client.remove(this.video.magnetUri);
|
this.client.remove(this.video.magnetUri);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue