There was an error while loading. Please reload this page.
1 parent 67efc3b commit e4c7458Copy full SHA for e4c7458
1 file changed
pkg/api/bzz.go
@@ -388,6 +388,7 @@ type getWrappedResult struct {
388
// resolveFeed races the resolution of both types of feeds. it returns the first correct feed found or an error.
389
func (s *Service) resolveFeed(ctx context.Context, getter storage.Getter, ch swarm.Chunk) (swarm.Chunk, error) {
390
innerCtx, cancel := context.WithCancel(ctx)
391
+ defer cancel()
392
getWrapped := func(v1 bool) chan getWrappedResult {
393
ret := make(chan getWrappedResult)
394
go func() {
0 commit comments