diff --git a/libsquoosh/src/worker_pool.js b/libsquoosh/src/worker_pool.js index 45f85afe..646d3870 100644 --- a/libsquoosh/src/worker_pool.js +++ b/libsquoosh/src/worker_pool.js @@ -64,7 +64,7 @@ export default class WorkerPool { async _nextWorker() { const reader = this.workerQueue.readable.getReader(); - const { value, done } = await reader.read(); + const { value } = await reader.read(); reader.releaseLock(); return value; }