repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
88499cf
)
Merge branch 'master' of github.com:poolifier/poolifier
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 16 Jul 2023 17:43:57 +0000
(19:43 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 16 Jul 2023 17:43:57 +0000
(19:43 +0200)
src/worker/abstract-worker.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/worker/abstract-worker.ts
b/src/worker/abstract-worker.ts
index 8a6b2104317a7a229dbca9943497b21e5e26f66f..7d5494deeb3bbe80d2a725bd6ef0d685ca288775 100644
(file)
--- a/
src/worker/abstract-worker.ts
+++ b/
src/worker/abstract-worker.ts
@@
-198,8
+198,8
@@
export abstract class AbstractWorker<
if (typeof fn !== 'function') {
throw new TypeError('fn parameter is not a function')
}
- const boundFn = fn.bind(this)
try {
+ const boundFn = fn.bind(this)
if (
this.taskFunctions.get(name) ===
this.taskFunctions.get(DEFAULT_TASK_NAME)