改名
This commit is contained in:
@@ -302,11 +302,9 @@ class ServerManager extends Abstracts\Server
|
|||||||
if (!($pid = $this->portIsAlready($port))) {
|
if (!($pid = $this->portIsAlready($port))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
exec('kill -15 ' . $pid, $execResult);
|
|
||||||
while ($this->portIsAlready($port)) {
|
while ($this->portIsAlready($port)) {
|
||||||
usleep(100);
|
exec('kill ' . $pid, $execResult);
|
||||||
exec('kill -15 ' . $pid, $execResult);
|
usleep(300);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user