chore: v2.4.7
[poolifier.git] / src / pools / cluster / fixed.ts
index 81e7b3b7d08b4bb5624d993a15f7850d9d3bf2ba..faa68fc74ce96ece284bb953f53db02c47c154e9 100644 (file)
@@ -66,7 +66,7 @@ export class FixedClusterPool<
   }
 
   /** @inheritDoc */
-  public destroyWorker (worker: Worker): void {
+  protected destroyWorker (worker: Worker): void {
     this.sendToWorker(worker, { kill: 1 })
     worker.kill()
   }