fix(core): update

This commit is contained in:
2023-11-14 13:17:05 +01:00
parent 2cd0846c74
commit cc0ecb3f16
2 changed files with 4 additions and 1 deletions

View File

@ -80,6 +80,9 @@ export function unbzip2Stream() {
//console.error(x,'last compressing with', hasBytes, 'bytes in buffer');
while (!broken && bitReader && hasBytes > bitReader.bytesRead) {
const result = await decompressAndPush();
if (!result) {
continue;
}
await streamTools.push(result);
}
if (!broken) {