On 5/26/06, Diana <[EMAIL PROTECTED]> wrote:
The application key..(I think it's called that) usually exits a program and launches the application lists...but i want to know is before it exits my program, is there anyway I can free any global variables before it exits that way I don't have to worry about memory leaks...Or am I thinking the wrong way?
The app key will cause an appStopEvent to be posted to your program. That's will tell your event loop to stop processing, it will exit, and then anything after the event loop in your main() is executed which allows you to do all your cleanup. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
