removed await on writer.write

This commit is contained in:
uh wot 2022-03-09 23:24:15 +01:00
parent 4ce782e6b5
commit 84cf6e9e4c
Signed by: uhwot
GPG Key ID: CB2454984587B781
2 changed files with 2 additions and 2 deletions

2
dist/worker.js vendored

File diff suppressed because one or more lines are too long

View File

@ -444,7 +444,7 @@ async function pipeDecryptedStream(writer, body, length, cipher, fixed_range_sta
chunk = chunk.slice(0, chunk.byteLength - bytes_remove_end) chunk = chunk.slice(0, chunk.byteLength - bytes_remove_end)
} }
await writer.write(chunk) writer.write(chunk)
if (!end) { if (!end) {
byte_count += 2048 byte_count += 2048