Merge branch 'master' of github.com:poolifier/poolifier
[poolifier.git] / src / pools / thread / fixed.ts
index a95a86034fcf13abc471862bbe9d51d8aa4604d1..bc665bf1a5f13e6c136a7281b96ffc465e470c03 100644 (file)
@@ -98,7 +98,7 @@ export class FixedThreadPool<
 
   /** @inheritDoc */
   public get full (): boolean {
-    return this.workers.length === this.numberOfWorkers
+    return this.workerNodes.length === this.numberOfWorkers
   }
 
   /** @inheritDoc */