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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Documentation

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: