Re: MultiECLockManager & dispose
Re: MultiECLockManager & dispose
- Subject: Re: MultiECLockManager & dispose
- From: Nathan Dumar <email@hidden>
- Date: Fri, 10 Dec 2004 14:13:07 -0500
Nevermind. I figured it out. MultiECLockManager only tries to unlock
ECs that exist at the time of unlock(), so when I dispose the EC,
MultiECLockManager does the same thing it would do on a page with no
ECs -- nothing. I was thinking it kept an array of ECs that it would
iterate through, and register/unregister would add to or remove from
the array. Smart, that Jonathan. Smart.
Sorry for answering my message -- after 2 and a half hours, the first
message still did not post, and in the mean time I was still trying.
Take care,
Nathan
On Dec 10, 2004, at 11:40 AM, Nathan Dumar wrote:
When using MultiECLockManager, at what time can I call ec.dispose()?
Any time the session is awake, the EC is locked. Is it safe to unlock
the ec myself, unregister it, then dispose it, or will this cause
problems? I know the EC will eventually get garbage collected, but I
want to do it right away.
Thank you for any help,
Nathan
_______________________________________________
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