mirror of
https://github.com/aria2/aria2.git
synced 2025-01-08 11:01:38 +00:00
Call onEndOfRun() on oneshot == true as well
This commit is contained in:
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
Block a user