lib/lookout/jruby/cleanup_tempfiles_9k.rb in lookout-jruby-2.3.0 vs lib/lookout/jruby/cleanup_tempfiles_9k.rb in lookout-jruby-2.4.0
- old
+ new
@@ -9,9 +9,12 @@
true
rescue Errno::ESRCH # No such process
false
rescue Errno::EPERM # The process exists, but you dont have permission to send the signal to it.
true
+ rescue NotImplementedError
+ # this can happen when native could not be loaded
+ false
end
private :process_exists?
end
end