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

topology.SelectServer leaks timers

    XMLWordPrintableJSON

Details

    Description

      We use a timer during server selection and we create a new one each time we do server selection. Since we never stop these timers, they are never properly shutdown and components of them cannot be garbage collected. Tt fix this, add a defer to stop the timer after we create it.

      Attachments

        Activity

          People

            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: