Skip to content

Commit

Permalink
Initialize variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Oct 26, 2024
1 parent fca7527 commit 12c2e3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions network/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ func (s *Server) Run() *gerr.GatewayDError {
}

s.isTLSEnabled = &atomic.Bool{}
s.running = &atomic.Bool{}

go func(server *Server) {
<-server.stopServer
Expand Down

0 comments on commit 12c2e3b

Please sign in to comment.