From 668c1b6a70782da5c25fe9529fe9fcc5ad47b880 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 8 Dec 2024 19:52:43 +0100 Subject: wait for graceful shutdown --- cmd/server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/server/main.go b/cmd/server/main.go index ddf3426..652ffa3 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -54,6 +54,6 @@ func main() { <-ctx.Done() log.Debug("calling stop") - sv.Stop() + <-sv.Stop() log.Debug("done") } -- cgit 1.4.1