OperationIterable.forEach/first should close the MongoCursor in a finally block

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 3.0.3, 3.1.0
    • Affects Version/s: 3.0.0, 3.0.2
    • Component/s: Query Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      OperationIterable.forEach and OperationIterable.first could leave the cursor open in the face of an exception thrown from Block.apply. It should ensure that the cursor is closed in a finally block

            Assignee:
            Jeffrey Yemin
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: