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