mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2941 from minggo/iss2304-refator-cclayer
fix a crash on android
This commit is contained in:
commit
9caa40590a
|
@ -474,7 +474,7 @@ ZipFile::~ZipFile()
|
|||
}
|
||||
if (_dataThread && _dataThread->zipFile)
|
||||
{
|
||||
unzClose(_dataThread);
|
||||
unzClose(_dataThread->zipFile);
|
||||
}
|
||||
CC_SAFE_DELETE(_data);
|
||||
CC_SAFE_DELETE(_dataThread);
|
||||
|
|
Loading…
Reference in New Issue