src/AbstractPool.php
public function removeExitedProcess()
    {
        foreach ($this->processes as $key => $process) {
            if ($process->isStopped()) {
                unset($this->processes[$key]);
            }
        }
    }
public function removeExitedProcess()
    {
        foreach ($this->processes as $key => $process) {
            if ($process->isStopped()) {
                unset($this->processes[$key]);
            }
        }
    }
public function removeExitedProcess ( ) { foreach ( $ this -> processes as $ key => $ process ) { if ( $ process -> isStopped ( ) ) { unset ( $ this -> processes [ $ key ] ) ; } } }
remove exited process
remove exited process