Skip to content

Commit 04a7131

Browse files
committed
Update main.go
1 parent 6588a68 commit 04a7131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wap/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ func main() {
382382
}
383383
serverMutex.Unlock()
384384
log.Info("Restarting HTTP server...")
385-
break
385+
running = false // Set running to false to break out of the inner loop
386386
case isConnected = <-connectedCh:
387387
log.Infow("called handleAppState in go routine with ", isConnected)
388388
handleAppState(ctx, isConnected, stopServer)

0 commit comments

Comments
 (0)