Skip to content

Commit

Permalink
fix(worker): return this.closing when calling close
Browse files Browse the repository at this point in the history
  • Loading branch information
manast committed Apr 10, 2020
1 parent 88ef30b commit 06d3d4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/classes/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,5 +389,6 @@ export class Worker<T = any> extends QueueBase {
resolve();
});
}
return this.closing;
}
}

0 comments on commit 06d3d4f

Please sign in to comment.