From d583fd5942f47606aaa4aa8b190b1ce5b730ebdc Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 18 Apr 2018 11:53:42 -0400 Subject: remove commented out debug code --- jwg.go | 2 -- 1 file changed, 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() }() -- cgit v1.2.3-2-g168b