Re: CORBA_Object_release() bug ???

KC <[email protected]>
Newsgroups gmane.comp.gnome.orbit.general
Message-ID <[email protected]>
Hi,

Very helpful info for me.   Thanks a lot.

Regards,
KC

On 5/13/05, Jules Colding <[email protected]> wrote:
> On Fri, 2005-05-13 at 13:40 +0800, KC wrote:
> > Hi Jules,
> >
> > It works :-)
> >
> > However, I can't find CORBA_ORB_destroy in
> > CORBA "C language mapping specification" ...
> 
> The destroy() method is a standard method on the CORBA::ORB interface.
> See section 4.2.5.5 in the 3.0.3 specification. The C language mapping
> does not directly need to include a specific reference to
> CORBA_ORB_destroy() as it is included in the mapping that namespace
> scoping is done with '_' characters.
> 
> > so I think
> > it's should be invoked inside CORBA_Object_release instead
> > of asking user to call CORBA_ORB_destroy directly.
> 
> No. Please go look at 4.2.5.5.
> 
> > By the way, I tested the code on both ORBit2-2.4.1 and
> > ORBit2-2.10.0 ... both have the same behavior if
> > CORBA_ORB_destroy is not used.
> 
> Yes they should have. destroy() frees internal resources used by the ORB
> object so it is only to be expected.
> 
> Best regards,
>   jules
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.