tschundler ad896cc857
Update tickers.go to not leak goroutine
The code in the example will leak a goroutine because ticker.Stop() does not close ticker.C.
There is no way to close ticker.C, so `for _ := range ticker` is not a generally safe example for using a ticker.
2018-10-17 13:52:04 -07:00
..
2013-10-06 08:50:23 -07:00
2018-02-01 16:35:20 -05:00
2013-10-06 08:50:23 -07:00
2013-10-06 08:50:23 -07:00
2013-10-06 08:50:23 -07:00
2014-01-10 06:31:15 -08:00
2013-10-06 08:50:23 -07:00
2018-02-01 16:35:20 -05:00
2018-02-01 16:35:20 -05:00
2013-10-06 08:50:23 -07:00
2013-10-06 08:50:23 -07:00
2013-12-03 05:18:14 -08:00
2018-02-01 17:54:35 -05:00
2015-02-24 19:13:33 -08:00
2013-10-06 08:50:23 -07:00
2016-12-27 13:31:00 -08:00
2015-02-24 19:13:33 -08:00
2018-02-01 17:58:40 -05:00
2014-05-11 14:31:26 -07:00
2015-02-24 19:13:33 -08:00
2018-02-01 16:35:20 -05:00
2013-12-19 11:31:08 -08:00
2018-02-01 17:54:35 -05:00
2013-10-06 08:50:23 -07:00
2016-12-27 12:54:04 -08:00
2018-02-01 16:35:20 -05:00
2013-10-06 08:50:23 -07:00
2013-10-06 08:50:23 -07:00
2013-10-06 08:50:23 -07:00
2015-09-05 10:19:48 -07:00
2016-12-27 10:44:26 -08:00
2014-05-11 17:17:46 -07:00
2013-10-06 08:50:23 -07:00
2015-02-24 19:13:33 -08:00
2013-10-06 08:50:23 -07:00
2014-01-22 15:49:28 -08:00
2018-02-01 17:54:35 -05:00
2013-10-06 08:50:23 -07:00
2018-02-01 16:35:20 -05:00
2015-02-14 07:19:47 -08:00
2018-02-01 16:35:20 -05:00
2015-02-24 19:13:33 -08:00
2013-10-06 08:50:23 -07:00
2018-02-01 17:30:13 -05:00
2016-12-27 07:18:03 -08:00
2015-02-24 19:13:33 -08:00
2018-04-18 09:34:53 +03:00
2013-10-06 08:50:23 -07:00
2018-02-01 16:35:20 -05:00
2016-12-27 10:32:33 -08:00
2013-10-06 08:50:23 -07:00