modify mysql result

This commit is contained in:
2022-04-10 14:54:46 +08:00
parent 9985f51e52
commit 8a4be3ac97
+3 -2
View File
@@ -63,11 +63,12 @@ class Inotify extends BaseProcess
public function onSigterm(): static public function onSigterm(): static
{ {
pcntl_signal(SIGTERM, function () {
$this->isStop = true; $this->isStop = true;
$this->clear(); $this->clear();
});
return parent::onSigterm(); // TODO: Change the autogenerated stub return $this;
} }