nex3/rb-inotify — pull request #26 by vongruenigen (2013-08-09 10:04:49+00:00)
Title: Fix fd leak in INotify::Notifier

Currenty, there's a leak of file descriptors in the ``INotify::Notifier.watch()`` method class when calling it with the ``:recursive`` flag.

If a directory is opened via ``Dir.new()`` it should always be closed via ``Dir.close()`` afterwards, otherwise ``lsof`` shows one open file descriptor for each watched directory.