cocos2d/cocos2d-x — pull request #9236 by programmerdave (2014-11-26 01:09:58+00:00)
Title: Add applicationWillTerminate to CCApplicationProtocol

I added the applicationWillTerminate method to CCApplicationProtocol for completeness. I use it in my games to upload any final analytics before the apps close so it would be great to add this to the cocos2dx source.