class FChange::Watcher
def close
-
(SystemCallError)
- if the watch fails to be disabled for some reason
def close r = Native.FindCloseChangeNotification(@id) #@notifier.remove_watcher(self) return if r == 0 raise SystemCallError.new("Failed to stop watching #{@path.inspect}", r) end