mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-29 03:06:35 -05:00
sfcrime_importer: sometimes we would close before importing everything
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user