func (cw *CertFileWatcher) Stop() error {
	if !cw.latch.CanStop() {
		return async.ErrCannotStop
	}
	cw.latch.WaitStopped()
	cw.latch.Reset()
	return nil
}
// Stop stops the watcher.
Stop stops the watcher.
// Stop stops the watcher .
func (cw *CertFileWatcher) Stop() error {
	if !cw.latch.CanStop() {
		return async.ErrCannotStop
	}
	cw.latch.WaitStopped()
	cw.latch.Reset()
	return nil
}
func ( cw * CertFileWatcher ) Stop ( ) error { if ! cw . latch . CanStop ( ) { return async . ErrCannotStop } cw . latch . WaitStopped ( ) cw . latch . Reset ( ) return nil }
Stop stops the watcher.
Stop stops the watcher .