modify mysql result

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