diff --git a/src/Command/ParallelCommand.php b/src/Command/ParallelCommand.php index e75bd81..07e9b92 100644 --- a/src/Command/ParallelCommand.php +++ b/src/Command/ParallelCommand.php @@ -143,6 +143,7 @@ private function doExecute(InputInterface $input, /** * @var Processes $processes */ + $processes->cleanUP(); //it is not getting called with -p1 after the last process otherwise $processes->wait(function() use ($progressBar, $queue, $processes) { $progressBar->renderBody($queue, $processes); });