diff options
| -rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -40,6 +40,8 @@ loop: // p-channels (p1, p2, etc.) close(p0) + // Wait for all of the in-flight player goroutines to + // finish. You need this! wg.Wait() // If any of these prints out, we know we did something wrong. |
