Skip to content

Commit

Permalink
Merge pull request #40 from rubinius/master
Browse files Browse the repository at this point in the history
Fix race condition in stopping FSEvent runner
  • Loading branch information
ttilley committed Dec 28, 2012
2 parents d9481b5 + 75f1b9c commit fa8ad08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rb-fsevent/fsevent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def run
callback.call(modified_dir_paths)
end
end
rescue Interrupt, IOError
rescue Interrupt, IOError, Errno::EBADF
ensure
stop
end
Expand Down

0 comments on commit fa8ad08

Please sign in to comment.