diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-04-18 11:53:42 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-04-18 11:53:42 -0400 |
commit | d583fd5942f47606aaa4aa8b190b1ce5b730ebdc (patch) | |
tree | be3fe8e68ccf63e94404c8fe44e600ebb7ddda01 | |
parent | 493613b9b3b12d8d7235f2a187a1e3154c5dfa78 (diff) |
remove commented out debug code
-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() }() |