// Deflate needs to be called when the errbag is of no use anymore.
// Calling Record() with a deflated errbag will induce a panic.
Deflate needs to be called when the errbag is of no use anymore.
Calling Record() with a deflated errbag will induce a panic.
// Deflate needs to be called when the errbag is of no use anymore . // Calling Record () with a deflated errbag will induce a panic .
func (eb ErrBag) Deflate() {
	eb.done <- struct{}{}
	close(eb.done)
	close(eb.errChan)
}
func ( eb ErrBag ) Deflate ( ) { eb . done <- struct { } { } close ( eb . done ) close ( eb . errChan ) }
Deflate needs to be called when the errbag is of no use anymore.
Deflate needs to be called when the errbag is of no use anymore .