issue_179 #180

Merged
vtolstov merged 6 commits from devstigneev/micro-server-http:issue_179 into master 2024-03-08 23:05:32 +03:00
Showing only changes of commit 41d7d145ce - Show all commits

View File

@ -549,10 +549,9 @@ func (h *Server) Start() error {
config.Logger.Errorf(config.Context, "Server deregister error: %s", err) config.Logger.Errorf(config.Context, "Server deregister error: %s", err)
} }
// err ignore and empty cotnext // empty context
hs.Shutdown(context.Background()) // TODO ts.Listener is sopped?
ch <- hs.Shutdown(context.Background())
ch <- ts.Close()
}() }()
return nil return nil