改名
This commit is contained in:
@@ -95,11 +95,16 @@ class ServerManager extends Abstracts\Server
|
|||||||
*/
|
*/
|
||||||
public function initBaseServer($configs): void
|
public function initBaseServer($configs): void
|
||||||
{
|
{
|
||||||
$context = ServerManager::getContext();
|
try {
|
||||||
foreach ($this->sortService($configs['ports']) as $config) {
|
$context = ServerManager::getContext();
|
||||||
$this->startListenerHandler($context, $config);
|
foreach ($this->sortService($configs['ports']) as $config) {
|
||||||
|
$this->startListenerHandler($context, $config);
|
||||||
|
}
|
||||||
|
$this->bindCallback($this->server, $this->getSystemEvents($configs));
|
||||||
|
}catch (\Throwable $throwable){
|
||||||
|
var_dump($throwable);
|
||||||
|
exit();
|
||||||
}
|
}
|
||||||
$this->bindCallback($this->server, $this->getSystemEvents($configs));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user