removed Listener.Stop

This commit is contained in:
Денис Евстигнеев 2024-03-07 18:16:02 +03:00
parent 1d5142d619
commit 41d7d145ce

View File

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