[18.09] backport pkg/progress: work around closing closed channel panic
@@ -39,6 +39,10 @@ type Output interface {
type chanOutput chan<- Progress
func (out chanOutput) WriteProgress(p Progress) error {
+ // FIXME: workaround for panic in #37735
+ defer func() {
+ recover()
+ }()
out <- p
return nil
}