lib/mongo/grid/stream/write.rb in mongo-2.5.1 vs lib/mongo/grid/stream/write.rb in mongo-2.5.2

- old
+ new

@@ -141,10 +141,10 @@ # @return [ true ] True if the operation was aborted and the stream is closed. # # @since 2.1.0 def abort fs.chunks_collection.find({ :files_id => file_id }, @options).delete_many - @open = false || true + (@open = false) || true end private def chunks_collection