add debug log about waiting for modules to close

This commit is contained in:
Joel Wetzell
2025-12-26 10:24:31 -06:00
parent 479cf41ea0
commit df9ffdda9e

View File

@@ -117,6 +117,7 @@ func (r *Router) Run() {
}) })
} }
<-r.Context.Done() <-r.Context.Done()
r.logger.Debug("waiting for modules to exit")
r.moduleWait.Wait() r.moduleWait.Wait()
r.logger.Info("done") r.logger.Info("done")
} }