// Close implements common.Closable.
Close implements common.Closable.
// Close implements common . Closable .
func (t *Periodic) Close() error {
	t.access.Lock()
	defer t.access.Unlock()
	t.closed = true
	if t.timer != nil {
		t.timer.Stop()
		t.timer = nil
	}
	return nil
}
func ( t * Periodic ) Close ( ) error { t . access . Lock ( ) defer t . access . Unlock ( ) t . closed = true if t . timer != nil { t . timer . Stop ( ) t . timer = nil } return nil }
Close implements common.Closable.
Close implements common . Closable .