变更
This commit is contained in:
@@ -90,7 +90,7 @@ class AsyncServer implements ServerInterface
|
|||||||
/**
|
/**
|
||||||
* @return bool
|
* @return bool
|
||||||
* @throws ContainerExceptionInterface
|
* @throws ContainerExceptionInterface
|
||||||
* @throws NotFoundExceptionInterface
|
* @throws NotFoundExceptionInterface|ReflectionException
|
||||||
*/
|
*/
|
||||||
public function shutdown(): bool
|
public function shutdown(): bool
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -108,7 +108,6 @@ class Server extends HttpService
|
|||||||
$this->onHotReload();
|
$this->onHotReload();
|
||||||
$this->manager->initCoreServers(Config::get('server', [], true), $this->daemon);
|
$this->manager->initCoreServers(Config::get('server', [], true), $this->daemon);
|
||||||
$this->manager->onSignal(Config::get('signal', []));
|
$this->manager->onSignal(Config::get('signal', []));
|
||||||
$this->dispatch->dispatch(new OnServerBeforeStart());
|
|
||||||
$this->manager->start();
|
$this->manager->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user