public function stop()
    {
        $this->stopWorkerPools();
        $this->workerJobSocket->disconnect($this->config['sockets']['worker_job']);
        $this->workerReplySocket->close();
        $this->clientSocket->close();
        $this->loop->stop();
    }
public function stop()
    {
        $this->stopWorkerPools();
        $this->workerJobSocket->disconnect($this->config['sockets']['worker_job']);
        $this->workerReplySocket->close();
        $this->clientSocket->close();
        $this->loop->stop();
    }
public function stop ( ) { $ this -> stopWorkerPools ( ) ; $ this -> workerJobSocket -> disconnect ( $ this -> config [ 'sockets' ] [ 'worker_job' ] ) ; $ this -> workerReplySocket -> close ( ) ; $ this -> clientSocket -> close ( ) ; $ this -> loop -> stop ( ) ; }
Close sockets, stop worker processes and stop main event loop.
Close sockets stop worker processes and stop main event loop .