cocos2d/cocos2d-x — pull request #5737 by dumganhar (2014-03-12 13:48:04+00:00)
Title: Lua Runtime fix

* Simulator fix: After main loop, NSApplication needs to be terminated immediately.
* GLView::end needs to release self.