gost/cmd/gost
ginuerzh b985e5138c fix: use atomic int for multi-worker exit code and clean up cancellation
- Replace bare int with atomic.Int32 to fix data race on ret
- Replace wg.Add/go/defer wg.Done pattern with wg.Go (Go 1.22+)
- Pass context by value instead of pointer
- Add ctx.Err() guard to suppress fatal on cancellation errors
- Add ProcessState nil check before accessing ExitCode
- Move cancel() after wg.Wait() to avoid race where a successful
  worker's deferred cancel kills siblings and triggers log.Fatal
2026-06-21 21:07:37 +08:00
..
main.go fix: use atomic int for multi-worker exit code and clean up cancellation 2026-06-21 21:07:37 +08:00
program.go fix: enable metrics before loading services 2026-06-21 20:35:19 +08:00
register.go feat: register stdio listener for SSH ProxyCommand support 2026-06-21 15:40:41 +08:00
version.go go1.26 2026-04-21 23:59:31 +08:00