Call onEndOfRun() on oneshot == true as well

libaria2
Tatsuhiro Tsujikawa 2013-04-27 01:23:54 +09:00
parent 0ef5f4eea1
commit 9734fa5447
1 changed files with 1 additions and 3 deletions

View File

@ -163,9 +163,7 @@ int DownloadEngine::run(bool oneshot)
return 1;
}
}
if(!oneshot) {
onEndOfRun();
}
onEndOfRun();
return 0;
}