title: Do I need to explicitly stop a ticker whose reference has been reassigned?
body: <p>I'm using <code>time.Ticker</code> to do some stuff at a regular interval. I want to be able to change the frequency that <code>stuff</code> happens at:</p>
  
  <pre><code>for {
          select {
          case &lt;-ticker.C:
              //do stuff
          case t := &lt;-newTicker:
              oldTicker := ticker
              ticker = t
              oldTicker.Stop()
          }
      }
  </code></pre>
  
  <p>Do I need that ticker cleanup to avoid a memory leak, or will reassigning <code>ticker</code> like </p>
  
  <pre><code>case ticker := &lt;-newTicker:
  </code></pre>
  
  <p>be enough?</p>