Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed #17989: touch stops responding on android devices. #18165

Merged
merged 1 commit into from
Aug 21, 2017

Commits on Aug 15, 2017

  1. fixed cocos2d#17989: touch stops responding on android devices.

    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`.
    James Chen committed Aug 15, 2017
    Configuration menu
    Copy the full SHA
    5f60f29 View commit details
    Browse the repository at this point in the history