From 3dca025f05ba84b48e58f59dbbc806a0c08501fc Mon Sep 17 00:00:00 2001 From: Peter Rabbitson Date: Fri, 27 Mar 2020 07:02:57 +0100 Subject: [PATCH] Remove pipe close since we are already in error --- core/commands/dag/dag.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/commands/dag/dag.go b/core/commands/dag/dag.go index a06824461..4eb2283b5 100644 --- a/core/commands/dag/dag.go +++ b/core/commands/dag/dag.go @@ -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 }