Skip to content

Commit e4c7458

Browse files
committed
lint
1 parent 67efc3b commit e4c7458

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/api/bzz.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ type getWrappedResult struct {
388388
// resolveFeed races the resolution of both types of feeds. it returns the first correct feed found or an error.
389389
func (s *Service) resolveFeed(ctx context.Context, getter storage.Getter, ch swarm.Chunk) (swarm.Chunk, error) {
390390
innerCtx, cancel := context.WithCancel(ctx)
391+
defer cancel()
391392
getWrapped := func(v1 bool) chan getWrappedResult {
392393
ret := make(chan getWrappedResult)
393394
go func() {

0 commit comments

Comments
 (0)