• 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: disposing of an EC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disposing of an EC


  • Subject: Re: disposing of an EC
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 20 Jul 2011 07:34:18 -0700

On 2011-07-20, at 4:15 AM, Theodore Petrosky wrote:

> I am using an AjaxModalDialog when I create a new object for my app. The content of the AMD is from a component. When this component is created, I create an EC.
>
> should I dispose() of this EC when I close the dialog? I guess this is a question of style. Will it be garbage collected on its own? or Do I gain anything if I theEC.dispose(); when I am done?


Calling dispose() may / should result in the JVM having free memory sooner.  It is not a big deal.


Chuck

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







 _______________________________________________
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

  • Follow-Ups:
    • Re: disposing of an EC
      • From: Mike Schrag <email@hidden>
References: 
 >disposing of an EC (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: [ANN] Wonderbar 1.0
  • Next by Date: Re: disposing of an EC
  • Previous by thread: Re: disposing of an EC
  • Next by thread: Re: disposing of an EC
  • Index(es):
    • Date
    • Thread