// Stop implements Checker.Stop. Please refer to Checker.Stop for more information.
Stop implements Checker.Stop. Please refer to Checker.Stop for more information.
// Stop implements Checker . Stop . Please refer to Checker . Stop for more information .
func (ck *defaultChecker) Stop() {
	ck.mtx.Lock()
	var wg sync.WaitGroup
	for _, endChan := range ck.endChans {
		wg.Add(1)
		endChan <- &wg
	}
	ck.endChans = []chan *sync.WaitGroup{}
	ck.started = false
	ck.mtx.Unlock()
	wg.Wait()
}
func ( ck * defaultChecker ) Stop ( ) { ck . mtx . Lock ( ) var wg sync . WaitGroup for _ , endChan := range ck . endChans { wg . Add ( 1 ) endChan <- & wg } ck . endChans = [ ] chan * sync . WaitGroup { } ck . started = false ck . mtx . Unlock ( ) wg . Wait ( ) }
Stop implements Checker.Stop.
Stop implements Checker . Stop .