MainL Increase the waitgroup counter

This commit is contained in:
Sketch 2023-09-19 20:55:45 -04:00
parent 3eb7552958
commit d66a2a3f70

View File

@ -12,7 +12,7 @@ import (
func main() {
wg := &sync.WaitGroup{}
actions := []func(){nas.StartServer, gpcm.StartServer, master.StartServer, gcsp.StartServer, matchmaking.StartServer}
wg.Add(4)
wg.Add(5)
for _, action := range actions {
go func(ac func()) {
defer wg.Done()