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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.11.0
    • Affects Version/s: None
    • Component/s: GridFS
    • 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 Unassigned
            Reporter:
            phil-schneider Philipp Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: