In java, I can call System.exit if i want to shut up shop and go home.
In titanium appcelerator, what is the command to do that? I don't want to have to keep track of all the open windows, I just want the entire app to give up and let the user manually restart.
I've tried closing the "root" window, or setting "exitonclose" to true, but that will only work on android, not ios.
Any ideas?