ZipUtils thread-safe patch for #1562 #1924

merged 0 commits into from Jan 30, 2013


None yet
1 participant

xeroo commented Jan 29, 2013

Access to files from APK is improved in #1562. But modifying m_data in ZipUtils::getFileData has a thread-safety issue. This patch fixes it with a simple lock.

There maybe a better way. Please review.

@xeroo xeroo closed this Jan 29, 2013

@xeroo xeroo reopened this Jan 30, 2013

@xeroo xeroo merged commit 0467060 into cocos2d:master Jan 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment