repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump mocha from 7.0.1 to 7.1.0
[poolifier.git]
/
lib
/
fixed.js
diff --git
a/lib/fixed.js
b/lib/fixed.js
index 8d899d57bb4ed00a54e4d1a1f2093641d8bd3f77..676947725bed0bb65fe72fe949be8652b08f39c5 100644
(file)
--- a/
lib/fixed.js
+++ b/
lib/fixed.js
@@
-34,9
+34,9
@@
class FixedThreadPool {
}
}
}
}
- destroy () {
+
async
destroy () {
for (const worker of this.workers) {
for (const worker of this.workers) {
- worker.terminate()
+
await
worker.terminate()
}
}
}
}