diff --git a/src/createWorker.js b/src/createWorker.js index 7cded344c..11708cc4c 100644 --- a/src/createWorker.js +++ b/src/createWorker.js @@ -107,7 +107,7 @@ module.exports = (_options = {}) => { })) ); - const terminate = async (jobId) => { + const terminate = async () => { if (worker !== null) { /* await startJob(createJob({