Merge pull request #342 from angela0/angela0-patch-1
fix bug: sender endlessly sends empty data
This commit is contained in:
commit
78a8b167de
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ class FileChunker {
|
|||
}
|
||||
|
||||
isFileEnd() {
|
||||
return this._offset > this._file.size;
|
||||
return this._offset >= this._file.size;
|
||||
}
|
||||
|
||||
get progress() {
|
||||
|
|
Loading…
Reference in a new issue