This commit is contained in:
xl
2024-09-04 10:22:53 +08:00
parent f3244cce0f
commit 133c05be44
+3
View File
@@ -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();
} }
} }