about ccmenu

i add a ccmenu in my program, when i click the screeen anywhere but the application will exit?this’s why?

Which version of cocos2d-x you are using? Could you provide more information? Does HelloWorld or tests projects also crash when you click menu?