This commit is contained in:
2023-07-26 17:43:19 +08:00
parent a006f988f2
commit 6d04611bb5
+3 -1
View File
@@ -65,7 +65,9 @@ class HotReload extends BaseProcess
{ {
$this->clearWatch(); $this->clearWatch();
Event::del($this->inotify); if (is_resource($this->inotify)) {
Event::del($this->inotify);
}
$this->onShutdown($data); $this->onShutdown($data);
} }