diff --git a/router.go b/router.go index 9a1c2cb..4e5ac52 100644 --- a/router.go +++ b/router.go @@ -117,6 +117,7 @@ func (r *Router) Run() { }) } <-r.Context.Done() + r.logger.Debug("waiting for modules to exit") r.moduleWait.Wait() r.logger.Info("done") }