This commit is contained in:
Kevin Cotugno 2017-10-20 17:03:17 -07:00
parent 6beed7b064
commit c84c01f8d2

View File

@ -28,11 +28,12 @@ func (v *Validator) Stop() {
if v.done != nil && !v.stopped {
v.done <- struct{}{}
v.stopped = true
close(v.done)
}
}
func (v *Validator) Start(frequency time.Duration) {
if v.dirty == true {
if v.dirty {
return
}