fix(#1804): do not refresh watched nodes that have been destroyed (deleted)

This commit is contained in:
Alexander Courtis
2022-12-19 14:36:42 +11:00
parent e0cfbbb93d
commit d949af7245
4 changed files with 11 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ function M.node_destroy(node)
if node.watcher then
node.watcher:destroy()
node.watcher = nil
end
end