Closure nicht mehr in Goroutine ausführen.
This commit is contained in:
parent
17365edbbb
commit
07f17c6a02
|
|
@ -93,7 +93,7 @@ func (f *ElioDateiFoo) ScanCsv(ctx context.Context, data chan<- CountryCsvData)
|
|||
f.mu.Lock()
|
||||
f.haveDone[v.filename] = time.Now()
|
||||
f.mu.Unlock()
|
||||
go f.process(v.filename, data)
|
||||
f.process(v.filename, data)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue