how to stop message loop

cocos2d::CCApplication::sharedApplication()->run()
Run the message loop.

how to stop it.

nobody answers questions here?