diff options
-rw-r--r-- | jwg.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -26,7 +26,6 @@ func (jwg *JobWaitGroup) Do(name string, fn func()) { panic(fmt.Sprintf("job %q already exists", name)) } jwg.jobs[name] = true - //fmt.Fprintf(os.Stderr, "add %p %v\n", &jwg.wg, jwg.wg) jwg.wg.Add(1) go func() { defer func() { @@ -34,7 +33,6 @@ func (jwg *JobWaitGroup) Do(name string, fn func()) { defer jwg.lock.Unlock() jwg.jobs[name] = false jwg.wg.Done() - //fmt.Fprintf(os.Stderr, "del %p %v\n", &jwg.wg, jwg.wg) }() fn() }() |