1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:34:51 -07:00
go/refactor/importgraph
Alan Donovan 41f0d01034 refactor/importgraph: fix a race condition.
The main goroutine wasn't waiting for the two closed channels to drain.

Moral: with concurrency, never invent.  D'oh.

LGTM=sameer
R=sameer
CC=golang-codereviews
https://golang.org/cl/178090043
2014-12-03 09:56:23 -05:00
..
graph_test.go go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00
graph.go refactor/importgraph: fix a race condition. 2014-12-03 09:56:23 -05:00