This commit is contained in:
2020-09-01 16:29:22 +08:00
parent e457bc62a0
commit 3477815b03
+7 -1
View File
@@ -40,7 +40,13 @@ class ServerManager
return $data;
};
}
return $server->start();
$server->start();
do {
} while (true);
return 1;
} catch (Exception $exception) {
echo $exception->getMessage() . PHP_EOL;
return $pool->shutdown();