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