Skip to content

Commit 1848cb7

Browse files
authored
Merge pull request #404 from winddies/sdk-15
fix ctx bug when stop
2 parents bb43cf9 + 73d72bf commit 1848cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/upload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export class UploadManager {
203203
let shouldCheckMD5 = this.config.checkByMD5;
204204
let reuseSaved = () => {
205205
this.updateChunkProgress(chunk.size, index);
206-
this.ctxList[index] = {ctx: info.ctx, time: info.time, md5: info.md5};
206+
this.ctxList[index] = {ctx: info.ctx, size: info.size, time: info.time, md5: info.md5};
207207
return Promise.resolve(null);
208208
};
209209

0 commit comments

Comments
 (0)