This commit is contained in:
as2252258@163.com
2021-07-11 04:10:50 +08:00
parent f8abead728
commit 27c7878647
+1 -1
View File
@@ -317,7 +317,7 @@ class Server extends HttpService
private function dispatchCreate($config, $settings): mixed private function dispatchCreate($config, $settings): mixed
{ {
if (!($this->swoole instanceof \Swoole\Server)) { if (!($this->swoole instanceof \Swoole\Server)) {
$this->parseServer($config, $settings); return $this->parseServer($config, $settings);
} }
return $this->addListener($config); return $this->addListener($config);
} }