func (l *TCPListener) stopTailer(tailer *Tailer) {
	tailer.Stop()
	l.mu.Lock()
	defer l.mu.Unlock()
	for i, t := range l.tailers {
		if t == tailer {
			l.tailers = append(l.tailers[:i], l.tailers[i+1:]...)
			break
		}
	}
}
// stopTailer stops the tailer.
stopTailer stops the tailer.
// stopTailer stops the tailer .
func (l *TCPListener) stopTailer(tailer *Tailer) {
	tailer.Stop()
	l.mu.Lock()
	defer l.mu.Unlock()
	for i, t := range l.tailers {
		if t == tailer {
			l.tailers = append(l.tailers[:i], l.tailers[i+1:]...)
			break
		}
	}
}
func ( l * TCPListener ) stopTailer ( tailer * Tailer ) { tailer . Stop ( ) l . mu . Lock ( ) defer l . mu . Unlock ( ) for i , t := range l . tailers { if t == tailer { l . tailers = append ( l . tailers [ : i ] , l . tailers [ i + 1 : ] ... ) break } } }
stopTailer stops the tailer.
stopTailer stops the tailer .