fix recursion

This commit is contained in:
Ethan Buchman
2017-12-29 10:28:00 -05:00
parent 76433d9040
commit 558f8e7769
2 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -36,7 +36,8 @@ func (t *defaultTicker) Chan() <-chan time.Time {
// Implements Ticker
func (t *defaultTicker) Stop() {
t.Stop()
tt := time.Ticker(*t)
tt.Stop()
}
//----------------------------------------