Remove pipe close since we are already in error

This commit is contained in:
Peter Rabbitson 2020-03-27 07:02:57 +01:00 committed by Steven Allen
parent 7a749ea7cb
commit 3dca025f05

View File

@ -329,7 +329,6 @@ The output of blocks happens in strict DAG-traversal, first-seen, order.
}()
if err := res.Emit(pipeR); err != nil {
pipeW.Close() // ignore errors if any
return err
}