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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.11.0
    • Affects Version/s: None
    • Component/s: GridFS
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              Unassigned
              Reporter:
              Philipp Schneider
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: