This commit is contained in:
xl
2024-11-19 09:10:12 +08:00
parent d500bb78c8
commit 03825dcb09
+3
View File
@@ -139,6 +139,9 @@ class HotReload extends AbstractProcess
*/
protected function clear(): void
{
foreach ($this->watches as $watch) {
inotify_rm_watch($this->pipe, $watch);
}
$this->watches = [];
}