mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 03:47:45 +08:00
Remove pipe close since we are already in error
This commit is contained in:
parent
7a749ea7cb
commit
3dca025f05
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user