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; return $data;
}; };
} }
$server->start(); return $server->start();
do {
} while (true);
return 1;
} catch (Exception $exception) { } catch (Exception $exception) {
echo $exception->getMessage() . PHP_EOL; echo $exception->getMessage() . PHP_EOL;
return $pool->shutdown(); return $pool->shutdown();