mirror of
https://github.com/rumanzo/bt2qbt.git
synced 2024-11-22 10:22:38 +01:00
FIx withoutTags option
This commit is contained in:
parent
b304a20555
commit
f9fbd89d5c
@ -100,16 +100,14 @@ func HandleResumeItems(opts *options.Opts, resumeItems map[string]*utorrentStruc
|
||||
}
|
||||
}
|
||||
}
|
||||
wg.Add(1)
|
||||
chans.BoundedChannel <- true
|
||||
transferStruct := CreateEmptyNewTransferStructure()
|
||||
transferStruct.ResumeItem = resumeItem
|
||||
transferStruct.Replace = replaces
|
||||
transferStruct.Opts = opts
|
||||
go HandleResumeItem(key, &transferStruct, &chans, &wg)
|
||||
} else {
|
||||
totalJobs--
|
||||
}
|
||||
wg.Add(1)
|
||||
chans.BoundedChannel <- true
|
||||
transferStruct := CreateEmptyNewTransferStructure()
|
||||
transferStruct.ResumeItem = resumeItem
|
||||
transferStruct.Replace = replaces
|
||||
transferStruct.Opts = opts
|
||||
go HandleResumeItem(key, &transferStruct, &chans, &wg)
|
||||
}
|
||||
go func() {
|
||||
wg.Wait()
|
||||
|
Loading…
Reference in New Issue
Block a user