cocos2d/cocos2d-x — pull request #4562 by dmurtagh (2013-12-19 20:18:36+00:00)
Title: Removed CC_SAFE_DELETE of the static CCUserDefault object in the UserDefault destructor

- The existing code caused the UserDefault destructor to call itself
recursively an infinte number of times causing stack overflow.
- Test case is to call the following from anywhere in your code:
CCUserDefault::purgeSharedUserDefault();
- Only applies to iOS. Tested on iOS.