Skip to content

Commit

Permalink
🧹 shutdown coordinator after a scan (#2160)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev authored Oct 10, 2023
1 parent d79989a commit 7fd7988
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions explorer/scan/local_scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ func (s *LocalScanner) distributeJob(job *Job, ctx context.Context, upstream *up
}()

scanGroup.Wait()
providers.Coordinator.Shutdown()
return reporter.Reports(), finished, nil
}

Expand Down

0 comments on commit 7fd7988

Please sign in to comment.