Skip to content

Commit

Permalink
Merge pull request #2527 from 0xff-dev/main
Browse files Browse the repository at this point in the history
🐛 fix: goroutine leak
  • Loading branch information
k8s-ci-robot committed Oct 8, 2023
2 parents 86a2e50 + f2fcfbb commit d94cf60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/manager/manager.go
Expand Up @@ -409,7 +409,7 @@ func New(config *rest.Config, options Options) (Manager, error) {
return nil, fmt.Errorf("failed to new pprof listener: %w", err)
}

errChan := make(chan error)
errChan := make(chan error, 1)
runnables := newRunnables(options.BaseContext, errChan)
return &controllerManager{
stopProcedureEngaged: pointer.Int64(0),
Expand Down

0 comments on commit d94cf60

Please sign in to comment.