further fix

This commit is contained in:
May 2023-06-24 18:20:38 -07:00
parent 486fb6912e
commit 38dd9e9c57

View file

@ -352,7 +352,9 @@ export default class Files {
let response = this.push(nextChunk) let response = this.push(nextChunk)
while (response) { while (response) {
response = this.push(await getNextChunk()) let nextChunk = await getNextChunk()
response = this.push(nextChunk)
if (!nextChunk) return
} }
}) })
} }