eee
This commit is contained in:
@@ -140,6 +140,8 @@ abstract class AbstractProcess implements OnProcessInterface
|
|||||||
public function pointWaitSignal($data): void
|
public function pointWaitSignal($data): void
|
||||||
{
|
{
|
||||||
$this->stop = true;
|
$this->stop = true;
|
||||||
|
|
||||||
|
$this->onSigterm();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -152,6 +154,7 @@ abstract class AbstractProcess implements OnProcessInterface
|
|||||||
if ($value) {
|
if ($value) {
|
||||||
$this->stop = true;
|
$this->stop = true;
|
||||||
}
|
}
|
||||||
|
$this->onSigterm();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user