diff --git a/network/server.go b/network/server.go index 52720576..03aa046b 100644 --- a/network/server.go +++ b/network/server.go @@ -549,6 +549,7 @@ func (s *Server) Run() *gerr.GatewayDError { } s.isTLSEnabled = &atomic.Bool{} + s.running = &atomic.Bool{} go func(server *Server) { <-server.stopServer