This commit is contained in:
2020-09-07 11:57:27 +08:00
parent 36dd6fbcc6
commit db09631b08
+1 -1
View File
@@ -186,7 +186,7 @@ class ServerInotify extends Process
foreach ($this->watchFiles as $wd) { foreach ($this->watchFiles as $wd) {
try { try {
@inotify_rm_watch($this->inotify, $wd); @inotify_rm_watch($this->inotify, $wd);
} catch (Exception $exception) { } catch (\Error|Exception $exception) {
$this->debug($exception->getMessage()); $this->debug($exception->getMessage());
} finally { } finally {
$this->watchFiles = []; $this->watchFiles = [];