We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6588a68 commit 04a7131Copy full SHA for 04a7131
wap/cmd/main.go
@@ -382,7 +382,7 @@ func main() {
382
}
383
serverMutex.Unlock()
384
log.Info("Restarting HTTP server...")
385
- break
+ running = false // Set running to false to break out of the inner loop
386
case isConnected = <-connectedCh:
387
log.Infow("called handleAppState in go routine with ", isConnected)
388
handleAppState(ctx, isConnected, stopServer)
0 commit comments