|
|
|
@ -71,7 +71,7 @@ func (h *Handler) Run(ctx context.Context) error {
|
|
|
|
|
|
|
|
|
|
defer func() {
|
|
|
|
|
cancel()
|
|
|
|
|
h.logger.Info("context canceled waiting for shutdown of components")
|
|
|
|
|
h.logger.Info("context canceled, waiting for shutdown of components")
|
|
|
|
|
wg.Wait()
|
|
|
|
|
h.logger.Info("shutdown complete")
|
|
|
|
|
}()
|
|
|
|
|