diff --git a/Inotify.php b/Inotify.php index 211baff..8db3bb5 100644 --- a/Inotify.php +++ b/Inotify.php @@ -99,7 +99,6 @@ class Inotify extends BaseProcess $this->watch($dir); } Event::add($this->inotify, [$this, 'check']); - Event::cycle([$this, 'clear']); while (true) { if ($this->isStop()) { Event::del($this->inotify);