diff --git a/27mutexAndAwaitGroups/main.go b/27mutexAndAwaitGroups/main.go index e0217ea..0f18fb5 100644 --- a/27mutexAndAwaitGroups/main.go +++ b/27mutexAndAwaitGroups/main.go @@ -13,7 +13,7 @@ func main() { var score = []int{0} - wg.Add(3) + wg.Add(4) go func(wg *sync.WaitGroup, m *sync.RWMutex) { fmt.Println("One R") mut.Lock()