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) {
try {
@inotify_rm_watch($this->inotify, $wd);
} catch (Exception $exception) {
} catch (\Error|Exception $exception) {
$this->debug($exception->getMessage());
} finally {
$this->watchFiles = [];