This commit is contained in:
2020-10-21 15:12:14 +08:00
parent 05f990df40
commit 88e1461671
+1 -1
View File
@@ -30,7 +30,7 @@ class OnStart extends Callback
name(rtrim(Config::get('id', 'system:'), ':'));
}
Process::signal(9 | 15, function () use ($server) {
Process::signal(9, function () use ($server) {
while ($ret = Process::wait()) {
if ($ret['signal'] == 9 || $ret['signal'] == 15) {
$server->shutdown();