Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-966

Document whether it's necessary to call client.Disconnect() if client.Connect() returns error

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Documentation
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      I am wondering if I need to call client.Disconnect() if client.Connect() returns an error. It was requested that I open a ticket so that the answer to this question can be documented.

            Assignee:
            Unassigned Unassigned
            Reporter:
            tim.olsen@mongodb.com Timothy Olsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: