Skip to content

Commit bb92a28

Browse files
committed
fix(resolve): fix incorrect method for sending message
1 parent 5b7e05f commit bb92a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WorkerPool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class PoolWorker {
131131
const { context, request, questionId } = message;
132132
const { data } = this.jobs[id];
133133
data.resolve(context, request, (error, result) => {
134-
this.worker.send({
134+
this.writeJson({
135135
type: 'result',
136136
id: questionId,
137137
error,

0 commit comments

Comments
 (0)