lib/jvertica.rb in jvertica-0.2.3 vs lib/jvertica.rb in jvertica-0.2.4
- old
+ new
@@ -187,10 +187,10 @@
begin
yield(o)
rescue => e
copy_stream_thread.raise e
ensure
- o.close
+ o.close rescue nil
end
end
stream.addStream(org.jruby.util.IOInputStream.new(i))
else
stream.addStream(org.jruby.util.IOInputStream.new(io))