public function onShutdown(Server $server): void
    {
        $this->fire(ServerEvent::SHUTDOWN, $server);

        $this->log("The swoole master process(PID: <info>{$server->master_pid})</info> stopped.");

        // self::addStat('stop_time', microtime(1));
    }
public function onShutdown(Server $server): void
    {
        $this->fire(ServerEvent::SHUTDOWN, $server);

        $this->log("The swoole master process(PID: <info>{$server->master_pid})</info> stopped.");

        // self::addStat('stop_time', microtime(1));
    }
public function onShutdown ( Server $ server ) : void { $ this -> fire ( ServerEvent :: SHUTDOWN , $ server ) ; $ this -> log ( "The swoole master process(PID: <info>{$server->master_pid})</info> stopped." ) ; // self::addStat('stop_time', microtime(1)); }
on Master Stop
@param  Server $server
on Master Stop