Call onEndOfRun() on oneshot == true as well

This commit is contained in:
Tatsuhiro Tsujikawa 2013-04-27 01:23:54 +09:00
parent 0ef5f4eea1
commit 9734fa5447

View File

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