mirror of https://github.com/aria2/aria2
Call requestQueueCheck() even if reservedGroups_ is not empty.
parent
beb9bb5646
commit
bb7e2e69db
|
@ -139,9 +139,7 @@ void RequestGroupMan::insertReservedGroup
|
|||
void RequestGroupMan::insertReservedGroup
|
||||
(size_t pos, const SharedHandle<RequestGroup>& group)
|
||||
{
|
||||
if(reservedGroups_.empty()) {
|
||||
requestQueueCheck();
|
||||
}
|
||||
reservedGroups_.insert
|
||||
(reservedGroups_.begin()+std::min(reservedGroups_.size(), pos), group);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue