Quick fix to stop an infinite loop
This commit is contained in:
parent
a2b8bb4828
commit
12e0d99a95
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ class FileActions extends React.PureComponent {
|
|||
if (
|
||||
!downloading &&
|
||||
fileInfo &&
|
||||
!fileInfo.written_bytes &&
|
||||
!fileInfo.completed &&
|
||||
fileInfo.written_bytes !== false &&
|
||||
fileInfo.written_bytes < fileInfo.total_bytes
|
||||
) {
|
||||
restartDownload(uri, fileInfo.outpoint);
|
||||
|
|
Loading…
Reference in a new issue