Re: CORBA calls from finalize handler



Hi Gergo,

On Wed, 18 Jul 2001, ERDI Gergo wrote:
> is it OK to do CORBA calls from the finalize handler of a 
> BonoboObject? If not, what is the proper way to unref member
> components, for example?
 
        Is this in Gnome 2.0 ? you should be able to do CORBA calls from a
finalize handler yes; I can't envisage any particular issues with it: of  
course, any CORBA call can cause (now only CORBA) re-enterancy - so might 
need to think slightly carefully, but it shouldn't be a major problem.   
  
        Of course, if you're really worried, and you want the aggregate to
be in a consistant state when you're destroying you can hook up to the    
'dispose' handler.
  
        Regards,
  
                Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]