Fix bug in file parallelism

main
Mari 3 years ago
parent ec47b8d63a
commit c7a91fa9ae
  1. 2
      drive-demuxer.go

@ -329,8 +329,8 @@ func (s *Step) Walk() {
switch rightState { switch rightState {
case FILE: case FILE:
wg.Add(1)
if leftState == FILE { if leftState == FILE {
wg.Add(1)
go func(child string) { go func(child string) {
defer func() { defer func() {
wg.Done() wg.Done()

Loading…
Cancel
Save