• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MultiECLockManager & dispose
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >MultiECLockManager & dispose (From: Nathan Dumar <email@hidden>)

  • Prev by Date: DirectAction authentification and Session
  • Next by Date: EOModeler/Prototypes question
  • Previous by thread: MultiECLockManager & dispose
  • Next by thread: DirectAction authentification and Session
  • Index(es):
    • Date
    • Thread