mirror of https://github.com/aria2/aria2
Call onEndOfRun() on oneshot == true as well
parent
0ef5f4eea1
commit
9734fa5447
|
@ -163,9 +163,7 @@ int DownloadEngine::run(bool oneshot)
|
|||
return 1;
|
||||
}
|
||||
}
|
||||
if(!oneshot) {
|
||||
onEndOfRun();
|
||||
}
|
||||
onEndOfRun();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue