Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2630

Simplify code path for ending implicit sessions in cursors

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.8
    • Affects Version/s: None
    • Component/s: None
    • None

      The internal Cursor#_endSessions is called from many places in the codebase, which can be confusing and also leads to bugs. We should reduce these calls to command result handlers, and the close method.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: