Marcelo E. Magallon
d4a14af14d
Simplify websocket ticker shutdown code
...
"A receive from a closed channel returns the zero value immediately"
Close the tickerChan in the calling function, this causes "case <-c" to
unblock immediately, ending the goroutine and stopping the ticker.
2015-10-14 18:48:43 -06:00
..
2015-10-13 20:04:34 -04:00
2015-10-11 16:28:02 -04:00
2015-10-11 16:28:02 -04:00
2015-07-10 12:05:06 -06:00
2015-10-11 16:28:02 -04:00
2015-10-11 16:28:02 -04:00
2015-05-09 21:47:02 +02:00
2015-06-10 15:48:41 +08:00
2015-09-02 15:13:31 +02:00
2015-10-13 19:49:53 -04:00
2015-09-30 18:37:10 +01:00
2015-10-11 16:28:02 -04:00
2015-10-01 09:58:07 -07:00
2015-10-11 16:28:02 -04:00
2015-10-11 16:28:02 -04:00
2015-10-14 18:48:43 -06:00
2015-10-13 14:39:18 +03:00
2015-06-07 20:49:17 -04:00
2015-09-17 16:23:30 -06:00
2015-09-19 20:35:48 -06:00
2015-10-13 20:04:34 -04:00
2015-10-13 19:49:53 -04:00
2015-05-24 22:52:34 -04:00
2015-09-04 08:34:58 -07:00
2015-06-12 11:42:28 +08:00
2015-10-11 16:28:02 -04:00
2015-09-20 18:13:53 +01:00
2015-10-11 16:28:02 -04:00