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

ChangeStreamBatchCursor#close should be a no-op after first call

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.11.1
    • Affects Version/s: None
    • Component/s: Change Streams
    • Labels:
      None

      ChangeStreamBatchCursor#close should protect against multiple invocations by only calling release on its ClientSession on the first call.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: