Skip to content

Commit

Permalink
Reset #signal
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed May 16, 2022
1 parent 7584140 commit f64aa11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslint/babel-eslint-parser/src/client.cjs
Expand Up @@ -92,6 +92,8 @@ exports.WorkerClient = class WorkerClient extends Client {
`WORKER COMMUNICATION: i=${i}, wakeReason=${wakeReason}, hasResponse=${!!response}`,
);
}

Atomics.store(this.#signal, 0, 0);
} while (!response && i++ < 100);

const { message } = response;
Expand Down

0 comments on commit f64aa11

Please sign in to comment.