mirror of https://github.com/axmolengine/axmol.git
Keep the same performer of CCDownloader #18871
This commit is contained in:
parent
4a3263d294
commit
5693097fce
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue