Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-32

Closing cursor does not cancel iteration with each()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 0.2
    • 0.2.1
    • None
    • None

    Description

      The rarely-used each() method on MotorCursor and MotorCommandCursor is supposed to immediately cancel iteration with each(). However, it doesn't cancel until the next batch is fetched.

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: