eee
This commit is contained in:
@@ -156,6 +156,10 @@ class HotReload extends AbstractProcess
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($this->isStop()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$pid = (int)file_get_contents(storage('.swoole.pid'));
|
$pid = (int)file_get_contents(storage('.swoole.pid'));
|
||||||
if ($pid <= 0 || !Process::kill($pid, 0) || $this->isStop()) {
|
if ($pid <= 0 || !Process::kill($pid, 0) || $this->isStop()) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user