guard / rb-inotify

A thorough inotify wrapper for Ruby using FFI.
MIT License
312 stars 64 forks source link

Prevent INotify::Watchers from being leaked #33

Closed amoghe closed 10 years ago

amoghe commented 10 years ago

Specifically:

  1. When a watcher is #close'd , it should delete itself from the INotify::Notifier watchers hash
  2. When an INotify::Notifier is #close'd, it should clear it watchers hash