modify mysql result
This commit is contained in:
+5
-4
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user