This commit is contained in:
2021-08-17 18:48:02 +08:00
parent 5ba5c930a0
commit 14b83e418d
+1 -2
View File
@@ -315,8 +315,7 @@ class ServerManager
return; return;
} }
while ($this->checkPortIsAlready($port)) { while ($this->checkPortIsAlready($port)) {
exec('kill -15 ' . $pid, $execResult); Process::kill($pid,SIGTERM);
Process::kill($pid,);
usleep(300); usleep(300);
} }
} }