wait for graceful shutdown
Alan Pearce alan@alanpearce.eu
Sun, 08 Dec 2024 19:52:43 +0100
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M cmd/server/main.go → cmd/server/main.go
@@ -54,6 +54,6 @@ }() <-ctx.Done() log.Debug("calling stop") - sv.Stop() + <-sv.Stop() log.Debug("done") }