diff --git a/Inotify.php b/Inotify.php index 8005714..226559d 100644 --- a/Inotify.php +++ b/Inotify.php @@ -61,9 +61,7 @@ class Inotify extends BaseProcess public function onSigterm(): static { - Timer::clear($this->cid); - - $this->isStop = true; + $this->clear(); return parent::onSigterm(); // TODO: Change the autogenerated stub }