fix debug services shutdown

This commit is contained in:
A.Unger
2021-03-10 11:38:21 +01:00
parent 4e37d4a2f6
commit e8c57394d8
12 changed files with 38 additions and 114 deletions
+1
View File
@@ -218,6 +218,7 @@ func Server(cfg *config.Config) *cli.Command {
}
gr.Add(server.ListenAndServe, func(_ error) {
_ = server.Shutdown(ctx)
cancel()
})
}