how to exit application

I have create new application using Template.
I have test click close button, application does not render anything when call sharedDirector()->end() but application still running.

How can I stop application after click button?

Thank in adv.

ha, I used to tap the home key to “exit” the program.
But as your description, CCDirector::end() is a bit odd. I think we had to write more to really exit the program in AppDelegate. It will be done.

issue #447 created