文件下载失败删除不完整文件

This commit is contained in:
xzl
2017-05-24 09:56:54 +08:00
parent bc64460327
commit 1b78f7ae5a
2 changed files with 6 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ private:
FILE *_saveFile = nullptr;
string _filePath;
onDownloadResult _onResult;
bool _bDownloadSuccess = false;
};
} /* namespace Http */