Keep the same performer of CCDownloader #18871

This commit is contained in:
panzhihao 2018-08-06 12:38:14 +08:00 committed by leda
parent 4a3263d294
commit 5693097fce
1 changed files with 1 additions and 1 deletions

View File

@ -811,7 +811,7 @@ namespace cocos2d { namespace network {
coTask._fp = nullptr;
do
{
if (0 == coTask._fileName.length())
if (0 == coTask._fileName.length() || DownloadTask::ERROR_NO_ERROR != coTask._errCode)
{
break;
}