Skip to content

Commit

Permalink
fix all services stop
Browse files Browse the repository at this point in the history
  • Loading branch information
napalmpapalam committed Dec 15, 2023
1 parent 4168db3 commit dab5930
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ func Run(args []string) {
case <-ctx.Done():
cfg.Log().WithError(ctx.Err()).Info("Interrupt signal received")
stop()
<-wgch
case <-wgch:
cfg.Log().Warn("all services stopped")
}
Expand Down

0 comments on commit dab5930

Please sign in to comment.