slightly simpler
Ted Unangst tedu@tedunangst.com
Wed, 16 Oct 2019 02:48:33 -0400
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -129,8 +129,7 @@ inflight, ok := flightdeck[url]
if ok { log.Printf("awaiting result for %s", url) c := make(chan JunkError) - inflight = append(inflight, c) - flightdeck[url] = inflight + flightdeck[url] = append(inflight, c) decklock.Unlock() je := <-c close(c)