Commit d11a5c9b authored by Janoš Guljaš's avatar Janoš Guljaš Committed by GitHub

group pull errors in node shutdown (#410)

parent 5ad430a7
......@@ -452,11 +452,11 @@ func (b *Bee) Shutdown(ctx context.Context) error {
}
if err := b.pullerCloser.Close(); err != nil {
return fmt.Errorf("puller: %w", err)
errs.add(fmt.Errorf("puller: %w", err))
}
if err := b.pullSyncCloser.Close(); err != nil {
return fmt.Errorf("pull sync: %w", err)
errs.add(fmt.Errorf("pull sync: %w", err))
}
b.p2pCancel()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment