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

Closing cursor does not cancel iteration with each()

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.2.1
    • Affects Version/s: 0.2
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: