X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fcluster%2Ffixed.ts;h=b74f034bc199d9d4e89f77f0856b00855cf1685a;hb=fa548cda5120ac0708d82f37cd0ce1260d7f96c1;hp=5f067bd7fb4a716f20297f2c907c7632a9607a1b;hpb=ae3ab61d14adc1f0511e8dea1f69a1d44e7effdf;p=poolifier.git diff --git a/src/pools/cluster/fixed.ts b/src/pools/cluster/fixed.ts index 5f067bd7..b74f034b 100644 --- a/src/pools/cluster/fixed.ts +++ b/src/pools/cluster/fixed.ts @@ -75,6 +75,7 @@ export class FixedClusterPool< worker.kill() }) await this.sendKillMessageToWorker(workerNodeKey) + workerNode.removeAllListeners() worker.disconnect() await waitWorkerExit }