to dispose() or not to dispose()?
to dispose() or not to dispose()?
- Subject: to dispose() or not to dispose()?
- From: Kieran Kelleher <email@hidden>
- Date: Tue, 16 Aug 2005 13:39:37 -0400
Hello All,
Is it a good practice to call dispose() after unlock() on an
EOEditingContext that I want to throw away and never again use?
Does it help garbage collection and free up memory?
Or is unlock() and "forget-about-it" good enough?
The EOEditingContext.dispose() API is not detailed enough to know
when/if/whether I should call dispose(). However I did notice the
practice in this WireHose example code:
http://www.wirehose.com/developer/DeveloperGuide/Windows/Contents/
Fetching_dictionaries.htm
Regards, Kieran
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden