Sorry Danny and everyone reading my last email, I just solve the problem. I
forgot that the FrmCloseAllForms() will send
out a FrmCloseEvent. I close my database before I do a FrmCloseAllForms{}
and in my other eventHandler, I try to get access to it during
FrmCloseEvent.
Sorry again.
Jacky
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Danny
Epstein
Sent: Friday, February 16, 2001 12:56 PM
To: Palm Developer Forum
Subject: Re: Memory leak
"Jacky Cheung" <[EMAIL PROTECTED]> wrote in message
news:39825@palm-dev-forum...
> Thanks Danny, the leak goes away when I do FrmCloseAllForms before exit.
> So am I actually leaking memory if I don't do the FrmCloseAllForms?
Yes, but Palm OS will clean up after your app. Leaks are considered bad
style. Anyone who tests apps on Poser using debug ROMs (which includes me)
would notice the leak and assume that the app isn't safe to run on a real
device with real data.
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/