mirror of https://github.com/aria2/aria2
Receive reference, not copy
parent
d07b3ff8d9
commit
98b132b4d1
|
@ -60,7 +60,7 @@ bool FillRequestGroupCommand::execute()
|
|||
if(e_->isHaltRequested()) {
|
||||
return true;
|
||||
}
|
||||
SharedHandle<RequestGroupMan> rgman = e_->getRequestGroupMan();
|
||||
const SharedHandle<RequestGroupMan>& rgman = e_->getRequestGroupMan();
|
||||
if(rgman->queueCheckRequested()) {
|
||||
while(rgman->queueCheckRequested()) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue