James Chen b648d0d41e Fixes thread race issue in getImageInfo method. (#1153)
NOTE: FileUtils::getInstance()->fullPathForFilename isn't a threadsafe method, Image::initWithImageFile will call fullPathForFilename internally which may cause thread race issues. Therefore, we get the full path of file before going into task callback. So be careful of invoking any Cocos2d-x interface in a sub-thread.
2018-03-19 18:11:13 +08:00
S
Description
No description provided
MIT 361 MiB
Languages
C++ 50.7%
TypeScript 35.1%
JavaScript 4%
C 4%
Objective-C++ 1.7%
Other 4.4%