[omniORB] nil object destruction
Malge Nishant
MNishant@quark.co.in
Tue Feb 11 12:57:02 2003
for (; i != nilObjectList()->end(); i++, nils++)
{
try
{
delete *i;
}
catch(...)
{
}
}
This is surely better instead of letting OS to clear. We will try to clear
as much as we can and rest is passed on to OS!
Comments!
-----Original Message-----
From: Duncan Grisby [mailto:duncan@grisby.org]
Sent: Monday, February 10, 2003 5:00 PM
To: S. Sahayaraj
Cc: Omniorb list
Subject: Re: [omniORB] nil object destruction
On Friday 7 February, "S. Sahayaraj" wrote:
> Instead of to not call orb->destroy(), Can we skip to destruct each
> nil object in the container?.
Destruction of the nil objects was one of the most-requested features
for omniORB 4. There are plenty of people who want it. Those who
don't, and are happy for the OS to clear up ought to be happy to not
destroy the ORB, and let the OS clear that up too.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan@grisby.org --
-- http://www.grisby.org --
_______________________________________________
omniORB-list mailing list
omniORB-list@omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list