public static function shutdownServ()
 {
     if (empty(self::$serv)) {
         return;
     }
     swoole_server_shutdown(self::$serv);
 }
Example #2
0
 function shutdown()
 {
     swoole_server_shutdown($this->sw);
 }