summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jwg.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/jwg.go b/jwg.go
index 6ef06d0..8daf046 100644
--- a/jwg.go
+++ b/jwg.go
@@ -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()
}()