commit d081bb9d0173be34f5784c7b366376492274964d parent a9d01aa702a6cb31ce4094e49a5e606b35504e39 Author: Angela Zu <angela0@users.noreply.github.com> Date: Sat, 14 Aug 2021 22:42:16 +0800 fix bug: sender endlessly sends empty data Diffstat:
M | client/scripts/network.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/scripts/network.js b/client/scripts/network.js @@ -465,7 +465,7 @@ class FileChunker { } isFileEnd() { - return this._offset > this._file.size; + return this._offset >= this._file.size; } get progress() {