On 12/17/10 7:18 AM, Nate Lowrie wrote: > On Fri, Dec 17, 2010 at 09:54, John Fabiani<[email protected]> wrote: >> Thanks Ed! I have never relase() any of my dialogs. I guess I'll have to >> review my code base. > > Always call release unless you plan on reusing the same dialog > instance multiple times. I've run into memory issues when I don't > call release.
Most of my dialogs get instantiated upon first use and then stay instantiated for the lifetime of the form that the dialog is a child of. Do you think I need to explicitly call release() when the form is destroyed? I currently don't do that and haven't noticed memory issues, but I've never looked for memory issues, either. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
