Merge pull request #342 from angela0/angela0-patch-1

fix bug: sender endlessly sends empty data
This commit is contained in:
RobinLinus 2021-08-14 17:01:21 +02:00 committed by GitHub
commit 78a8b167de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -465,7 +465,7 @@ class FileChunker {
} }
isFileEnd() { isFileEnd() {
return this._offset > this._file.size; return this._offset >= this._file.size;
} }
get progress() { get progress() {