CLOUD: Fix FolderDownloadRequest
It now sends kDownloadEndedCmd on success without waiting to be destructed.
This commit is contained in:
parent
d863dad055
commit
ca33c0a0a8
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ void FolderDownloadRequest::fileDownloadedErrorCallback(Networking::ErrorRespons
|
|||
void FolderDownloadRequest::downloadNextFile() {
|
||||
do {
|
||||
if (_pendingFiles.empty()) {
|
||||
sendCommand(GUI::kDownloadEndedCmd, 0);
|
||||
finishDownload(_failedFiles);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue