Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-703

GridFS List<GridFSDBFile> find( DBObject query ,...) should close cursor

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.11.0
    • None
    • GridFS
    • None

    Description

      The find methods of the GridFS use the DBCursor to convert the results into a list.
      The cursor should be closed in a final block.

      See comment here:
      https://github.com/mongodb/mongo-java-driver/pull/88/files#r2251287

      Attachments

        Activity

          People

            Unassigned Unassigned
            phil-schneider Philipp Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: