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

Eliminate object retention on error condition in DBTCPConnector#call

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

      OutMessage#doneWithMessage is not called if there is an exception thrown in DBTCPConnector#call. It's only called if the method completes normally. Easily fixed with a try/finally.

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

              Created:
              Updated:
              Resolved: