This commit is contained in:
2021-08-18 11:56:19 +08:00
parent f375eec0a0
commit 99e2f36794
9 changed files with 21 additions and 14 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ class ServerManager
*/
public function initBaseServer($configs, int $daemon = 0): void
{
$context = ServerManager::getContext();
$context = di(ServerManager::class);
foreach ($this->sortService($configs['ports']) as $config) {
$this->startListenerHandler($context, $config, $daemon);
}