fix bug: sender endlessly sends empty data

This commit is contained in:
Angela Zu 2021-08-14 22:42:16 +08:00 committed by GitHub
parent a9d01aa702
commit d081bb9d01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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