mirror of https://github.com/axmolengine/axmol.git
8adf780a3c
It's caused by `FileUtils::getContents` is invoked in different threads and we use EventDispatcher::dispatchCustomEvent in `FileUtilsAndroid::getContents` to send an event to EngineDataManager. Since EngineDataManager class is only for internal use and EventDispatcher isn't thread-safe, we make `EngineDataManager::onBeforeReadFile` public and invoke it `FileUtilsAndroid::getContents`. |
||
---|---|---|
.. | ||
Java_org_cocos2dx_lib_Cocos2dxAccelerometer.cpp | ||
Java_org_cocos2dx_lib_Cocos2dxBitmap.cpp | ||
Java_org_cocos2dx_lib_Cocos2dxBitmap.h | ||
Java_org_cocos2dx_lib_Cocos2dxEngineDataManager.cpp | ||
Java_org_cocos2dx_lib_Cocos2dxEngineDataManager.h | ||
Java_org_cocos2dx_lib_Cocos2dxHelper.cpp | ||
Java_org_cocos2dx_lib_Cocos2dxHelper.h | ||
Java_org_cocos2dx_lib_Cocos2dxRenderer.cpp | ||
JniHelper.cpp | ||
JniHelper.h | ||
ProcessCpuTracker.cpp | ||
ProcessCpuTracker.h | ||
TouchesJni.cpp |