lib/rb-fsevent/fsevent.rb in rb-fsevent-0.9.2 vs lib/rb-fsevent/fsevent.rb in rb-fsevent-0.9.3
- old
+ new
@@ -41,10 +41,10 @@
if line = @pipe.readline
modified_dir_paths = line.split(':').select { |dir| dir != "\n" }
callback.call(modified_dir_paths)
end
end
- rescue Interrupt, IOError
+ rescue Interrupt, IOError, Errno::EBADF
ensure
stop
end
def stop