MyQEE\Server\Worker::onStop PHP Method

onStop() public method

退出程序是回调
public onStop ( )
    public function onStop()
    {
        self::debug("Worker#{$this->id} Stop, pid: {$this->server->worker_pid}");
    }