Fix possibly incorrect usage of conversion

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