sfcrime_importer: sometimes we would close before importing everything

This commit is contained in:
Aaron Boodman
2015-09-29 11:11:22 -07:00
parent 8c2caa3b27
commit 65310bef12
+1 -1
View File
@@ -86,8 +86,8 @@ func main() {
// Start a go routine to add incident refs to the list as they are ready
var refWg sync.WaitGroup
refWg.Add(1)
go func() {
refWg.Add(1)
for ref := range rChan {
refList = append(refList, ref)
}